内に含まその他のドキュメントサポート リソース | PDF 文書ファイルをダウンロードする (1976 KB)
A.2.105 -xalias_level[=n](SPARC) The C++ compiler can perform type-based alias-analysis and optimizations when you specify the following command:
is only accessed through lvalues of the following types:
A.2.105.1 DefaultsIf you do not specify -xalias_level, the compiler sets the option to -xalias_level=any. If you specify -xalias_level but do not provide a value, the compiler sets the option to -xalias_level=compatible. InteractionsThe compiler does not perform type-based alias analysis at optimization level -xO2 and below. WarningIf you are using reinterpret_cast or an equivalent old-style cast, the program may violate the assumptions of the analysis. Also, union type punning, as shown in the following example, violates the assumptions of the analysis.
|
|||||||||||||||||||||