diff options
author | Richard Henderson <rth@gcc.gnu.org> | 2004-09-01 15:24:27 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2004-09-01 15:24:27 -0700 |
commit | 73022c2a43bfdf0e56546b3cb092787fd203ee02 (patch) | |
tree | 5bbcdc790172e94d1b90fa30dfae609919a77534 /gcc | |
parent | 8bfd0a46ea397185b00fe00bb40ae03c18838398 (diff) | |
download | gcc-73022c2a43bfdf0e56546b3cb092787fd203ee02.zip gcc-73022c2a43bfdf0e56546b3cb092787fd203ee02.tar.gz gcc-73022c2a43bfdf0e56546b3cb092787fd203ee02.tar.bz2 |
Update TREE_NO_WARNING docs.
From-SVN: r86937
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/tree.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -331,7 +331,7 @@ struct tree_common GTY(()) nowarning_flag: TREE_NO_WARNING in - ... any expr node + ... any expr or decl node */ /* Define accessors for the fields that all tree nodes have @@ -751,7 +751,10 @@ extern void tree_operand_check_failed (int, enum tree_code, #define CLEANUP_EH_ONLY(NODE) ((NODE)->common.static_flag) /* In an expr node (usually a conversion) this means the node was made - implicitly and should not lead to any sort of warning. */ + implicitly and should not lead to any sort of warning. In a decl node, + warnings concerning the decl should be suppressed. This is used at + least for used-before-set warnings, and it set after one warning is + emitted. */ #define TREE_NO_WARNING(NODE) ((NODE)->common.nowarning_flag) /* In an INTEGER_CST, REAL_CST, COMPLEX_CST, or VECTOR_CST this means |