aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@gcc.gnu.org>2004-09-01 15:24:27 -0700
committerRichard Henderson <rth@gcc.gnu.org>2004-09-01 15:24:27 -0700
commit73022c2a43bfdf0e56546b3cb092787fd203ee02 (patch)
tree5bbcdc790172e94d1b90fa30dfae609919a77534 /gcc
parent8bfd0a46ea397185b00fe00bb40ae03c18838398 (diff)
downloadgcc-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.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index e815ef0..9c0fc85 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -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