aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/check.c
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2016-07-29 17:36:46 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2016-07-29 17:36:46 +0000
commite00dceafd2de848a7735dbce48922aa2304a0f94 (patch)
treefeeb7bcc2ca33fc90b3d2193ab87d8641f9730a2 /gcc/fortran/check.c
parentefd0786f218626c25adde976a9f83121b0c45342 (diff)
downloadgcc-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/check.c')
0 files changed, 0 insertions, 0 deletions