diff options
author | Tom Tromey <tromey@redhat.com> | 2007-08-24 21:10:41 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2007-08-24 21:10:41 +0000 |
commit | f9837879d58101f62cd52cc7d17b5dd76b975978 (patch) | |
tree | ddab928967370ac499db2af2cfb08b1bc7d67816 /gcc/c-decl.c | |
parent | 787b0d199b714e0a8aceaae931548aa5076bcd06 (diff) | |
download | gcc-f9837879d58101f62cd52cc7d17b5dd76b975978.tar.gz |
varpool.c (varpool_last_needed_node): Fix comment typo.
* varpool.c (varpool_last_needed_node): Fix comment typo.
* c-decl.c (duplicate_decls): Fix comment typo.
(clone_underlying_type): Update comment.
From-SVN: r127788
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r-- | gcc/c-decl.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index d6eb39aa45c..1625046a64f 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -1930,7 +1930,7 @@ duplicate_decls (tree newdecl, tree olddecl) if (!diagnose_mismatched_decls (newdecl, olddecl, &newtype, &oldtype)) { - /* Avoid `unused variable' and other warnings warnings for OLDDECL. */ + /* Avoid `unused variable' and other warnings for OLDDECL. */ TREE_NO_WARNING (olddecl) = 1; return false; } @@ -2028,11 +2028,7 @@ warn_if_shadowing (tree new_decl) Obviously, we don't want to generate a duplicate ..._TYPE node if the TYPE_DECL node that we are now processing really represents a - standard built-in type. - - Since all standard types are effectively declared at line zero - in the source file, we can easily check to see if we are working - on a standard type by checking the current value of lineno. */ + standard built-in type. */ static void clone_underlying_type (tree x) |