diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-01-27 19:32:49 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-01-27 19:32:49 +0000 |
commit | 78e516ebb11c4bf359ccd08cba14e16c0a5152db (patch) | |
tree | 25b41720693a07d6c651306b4666907bbb307799 /gcc/c/ChangeLog | |
parent | 7deb975a881f0dae3c84b107a6776114c4f7a318 (diff) | |
download | gcc-78e516ebb11c4bf359ccd08cba14e16c0a5152db.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232899 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c/ChangeLog')
-rw-r--r-- | gcc/c/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 7999d2a987a..5341f044d28 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,10 @@ +2016-01-27 Jakub Jelinek <jakub@redhat.com> + + 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. + 2016-01-27 Marek Polacek <polacek@redhat.com> PR c/68062 |