diff options
author | Jakub Jelinek <jakub@redhat.com> | 2016-01-27 20:32:49 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2016-01-27 20:32:49 +0100 |
commit | cbdd8ae08c2cec98ed063a0ef2c237e80539e597 (patch) | |
tree | 25b41720693a07d6c651306b4666907bbb307799 /gcc/config/rs6000/darwin.opt | |
parent | 8dc781e4546beab0893020670bc8154809a5513b (diff) | |
download | gcc-cbdd8ae08c2cec98ed063a0ef2c237e80539e597.zip gcc-cbdd8ae08c2cec98ed063a0ef2c237e80539e597.tar.gz gcc-cbdd8ae08c2cec98ed063a0ef2c237e80539e597.tar.bz2 |
re PR debug/66869 (-Wunused-function no longer warns for static declarations without definition)
PR debug/66869
* c-decl.c (c_write_global_declarations_1): Warn with
warn_unused_function if static prototype without definition
is not C_DECL_USED.
* gcc.dg/pr66869.c: New test.
From-SVN: r232899
Diffstat (limited to 'gcc/config/rs6000/darwin.opt')
0 files changed, 0 insertions, 0 deletions