diff options
author | Marek Polacek <polacek@redhat.com> | 2016-07-29 17:36:46 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2016-07-29 17:36:46 +0000 |
commit | e00dceafd2de848a7735dbce48922aa2304a0f94 (patch) | |
tree | feeb7bcc2ca33fc90b3d2193ab87d8641f9730a2 /gcc/fortran | |
parent | efd0786f218626c25adde976a9f83121b0c45342 (diff) | |
download | gcc-e00dceafd2de848a7735dbce48922aa2304a0f94.zip gcc-e00dceafd2de848a7735dbce48922aa2304a0f94.tar.gz gcc-e00dceafd2de848a7735dbce48922aa2304a0f94.tar.bz2 |
re PR c/71573 (ICE on invalid C code on x86_64-linux-gnu (tree check: expected function_decl, have var_decl in implicitly_declare))
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.
From-SVN: r238885
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions