[Bug lto/47888] [4.7/4.8/4.9 Regression] tree check: expected array_type, have record_type in array_ref_low_bound, at expr.c:6249 / Segmentation fault
aldyh at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 9 23:07:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47888
Aldy Hernandez <aldyh at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
CC| |aldyh at gcc dot gnu.org
--- Comment #9 from Aldy Hernandez <aldyh at gcc dot gnu.org> ---
No ICE on 4.[789]:
reynosa:/build/pristine-4_8/gcc$ ./xgcc -B./ main.c s.c -flto -O -DPR47888
main.c:1:13: warning: type of 's' does not match original declaration [enabled
by default]
extern char s[1];
^
s.c:1:14: note: previously declared here
struct S { } s;
^
This only seems to be a problem on 4.6. Can we mark this as so?
More information about the Gcc-bugs
mailing list