]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c/ChangeLog
c-decl.c (locate_old_decl): If a previous conflicting decl is both explicit and built...
authorDJ Delorie <dj@redhat.com>
Wed, 6 Nov 2013 23:33:33 +0000 (18:33 -0500)
committerDJ Delorie <dj@gcc.gnu.org>
Wed, 6 Nov 2013 23:33:33 +0000 (18:33 -0500)
commit0c249d4b1ddd0e92fe7ca1e92feb57292cad2371
tree89a946c331c96eda2b81fece95680fe4c085f7a9
parent7f4d640cd9ecf834ce2f6ab469076ddd49021374
c-decl.c (locate_old_decl): If a previous conflicting decl is both explicit and builtin...

* c-decl.c (locate_old_decl): If a previous conflicting decl is
both explicit and builtin, print the location of the explicit one.

* gcc.dg/mismatch-decl-1.c: New test.

From-SVN: r204491
gcc/c/ChangeLog
gcc/c/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/mismatch-decl-1.c [new file with mode: 0644]