re PR c/61852 (Incorrect column number for -Wimplicit-function-declaration)
authorMarek Polacek <polacek@redhat.com>
Sun, 20 Jul 2014 10:43:26 +0000 (10:43 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Sun, 20 Jul 2014 10:43:26 +0000 (10:43 +0000)
commit30281de2ce283349a61f62df7084d12c6315ef42
treea76fb12428a8114d268d86f377fda454e1826d98
parent55d1bd59572283e06cd7662dbbf0450b5fc98753
re PR c/61852 (Incorrect column number for -Wimplicit-function-declaration)

PR c/61852
* c-decl.c (implicit_decl_warning): Add location_t parameter.  Use it.
(implicitly_declare): Pass location to implicit_decl_warning.

* gcc.dg/pr61852.c: New test.

From-SVN: r212865
gcc/c/ChangeLog
gcc/c/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr61852.c [new file with mode: 0644]