2015-07-24 Manuel López-Ibáñez <manu@gcc.gnu.org>
commit9e96f1e1b9731c4e1ef4fbbbf0997319973f0537
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Jul 2015 20:20:13 +0000 (24 20:20 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Jul 2015 20:20:13 +0000 (24 20:20 +0000)
tree5546702f4370a0141cb4902e6646f8d83f0e1492
parentf0ff386482debbbd1dc1686c71ea0f407edd6a6a
2015-07-24  Manuel López-Ibáñez  <manu@gcc.gnu.org>

PR c++/64079
* toplev.c (check_global_declaration): Use DECL_SOURCE_LOCATION
and "%qD" in warning_at instead of "%q+D" in warning.

/testsuite
2015-07-24  Manuel López-Ibáñez  <manu@gcc.gnu.org>

PR c++/64079
* c-c++-common/Wunused-function-1.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226191 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/Wunused-function-1.c [new file with mode: 0644]
gcc/toplev.c