diff options
author | Jakub Jelinek <jakub@redhat.com> | 2016-01-29 12:14:42 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2016-01-29 12:14:42 +0100 |
commit | 16b77b321eb72c5e2e1ec3628c035df80bef8534 (patch) | |
tree | 4e79522ef94c0bd7571b3dc6e653f306c0e08ce9 /gcc/tree-ssa-dce.c | |
parent | f597d5f73c62e535493db57260d85aeeca4d4d54 (diff) | |
download | gcc-16b77b321eb72c5e2e1ec3628c035df80bef8534.zip gcc-16b77b321eb72c5e2e1ec3628c035df80bef8534.tar.gz gcc-16b77b321eb72c5e2e1ec3628c035df80bef8534.tar.bz2 |
re PR debug/66869 (-Wunused-function no longer warns for static declarations without definition)
PR debug/66869
* decl.c (wrapup_globals_for_namespace): Warn about unused static
function declarations.
* g++.dg/warn/Wunused-function2.C: New test.
From-SVN: r232975
Diffstat (limited to 'gcc/tree-ssa-dce.c')
0 files changed, 0 insertions, 0 deletions