* c-decl.c (locate_old_decl): If a previous conflicting decl is
commit8b023e7ccce7cdf79ae316169ae4a71e25957867
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Nov 2013 23:33:33 +0000 (6 23:33 +0000)
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 Nov 2013 23:33:33 +0000 (6 23:33 +0000)
tree89a946c331c96eda2b81fece95680fe4c085f7a9
parent13225ff5797aafcf9364ad2334a637c23f63f5cb
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204491 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/c/ChangeLog
gcc/c/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/mismatch-decl-1.c [new file with mode: 0644]