re PR c/13029 (static consts and -Wunused-variable)
authorMark Mitchell <mark@codesourcery.com>
Thu, 13 Nov 2003 19:40:19 +0000 (19:40 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 13 Nov 2003 19:40:19 +0000 (19:40 +0000)
commit49012f5c0f56b39c22a5bf5cf7a1f3626387eda7
tree716926a333fcf41c178e37db6a6dd1685fe261b5
parent5681c890b67c0f3c3134fb9897293866594cbd5c
re PR c/13029 (static consts and -Wunused-variable)

PR c/13029
* toplev.c (check_global_declarations): Do not warn about unused
static consts.

PR c/13029
* gcc.dg/unused-4.c: Update.

Co-Authored-By: Kean Johnston <jkj@sco.com>
From-SVN: r73554
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/unused-4.c
gcc/toplev.c