このページを編集する際は,編集に関する方針に従ってください.[]
概要[]
- gcc-4.1.0/gcc/tree.hにて定義
- public_flag へのアクセスマクロ.
904 /* In an INTEGER_CST, REAL_CST, COMPLEX_CST, or VECTOR_CST, this means
905 there was an overflow in folding, and no warning has been issued
906 for this subexpression. TREE_OVERFLOW implies TREE_CONSTANT_OVERFLOW,
907 but not vice versa.
908
909 ??? Apparently, lots of code assumes this is defined in all
910 expressions. */
ちなみに,struct tree_common 型の public_flag メンバは,以下のような使われ方もしているようだ.~
331 public_flag:
332
333 TREE_OVERFLOW in
334 INTEGER_CST, REAL_CST, COMPLEX_CST, VECTOR_CST
335 ??? and other expressions?
336 TREE_PUBLIC in
337 VAR_DECL or FUNCTION_DECL or IDENTIFIER_NODE
338 ASM_VOLATILE_P in
339 ASM_EXPR
340 TYPE_CACHED_VALUES_P in
341 ..._TYPE
342 SAVE_EXPR_RESOLVED_P in
343 SAVE_EXPR
引数[]
- NODE
- 木構造のノード ; union tree_node 型.common は,この構造体の必ず先頭にある struct tree_common 型メンバ.
実装[]
911 #define TREE_OVERFLOW(NODE) ((NODE)->common.public_flag)