]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c/ChangeLog
PR c/71573
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 Jul 2016 17:36:46 +0000 (17:36 +0000)
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 Jul 2016 17:36:46 +0000 (17:36 +0000)
commit4c4548bb50d988c63a67c86efaac1d1e3c1461ae
treefeeb7bcc2ca33fc90b3d2193ab87d8641f9730a2
parent9efe5be6a6214ab4d79c1fa5d513a6a63de6f18b
PR c/71573
* c-decl.c (implicitly_declare): Return decl early not only for
error_mark_nodes, but for anything that is not a FUNCTION_DECL.

* gcc.dg/noncompile/pr71573.c: New test.

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