OSDN Git Service

PR c/23228
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Oct 2005 14:48:29 +0000 (14:48 +0000)
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Oct 2005 14:48:29 +0000 (14:48 +0000)
commit8babbffa606266c7a362a764f3fb6438a4edb695
tree988fb136daa7814e2926da81d9c274aa06aefc9d
parente2de980eecb57e6891f77bd74a8272208bef1ace
PR c/23228
* c-decl.c (pop_scope): Don't warn about an unused variable
if it is marked with TREE_NO_WARNING.
(duplicate_decls): Set TREE_NO_WARNING if olddecl and newdecl
somenow mismatch and olddecl is to be replaced.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105621 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-decl.c