[Bug middle-end/64766] [4.8/4.9/5 Regression] internal compiler error: tree check: expected block, have error_mark in lower_function_body, at gimple-low.c:122
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 27 08:14:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64766
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Jan 27 08:13:45 2015
New Revision: 220152
URL: https://gcc.gnu.org/viewcvs?rev=220152&root=gcc&view=rev
Log:
PR c/64766
* c-typeck.c (store_init_value): Don't overwrite DECL_INITIAL
of FUNCTION_DECLs with error_mark_node.
* gcc.dg/pr64766.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr64766.c
Modified:
trunk/gcc/c/ChangeLog
trunk/gcc/c/c-typeck.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list