This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[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
- From: "aldyh at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 09 Jan 2014 23:07:47 +0000
- Subject: [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
- Auto-submitted: auto-generated
- References: <bug-47888-4 at http dot gcc dot gnu dot org/bugzilla/>
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?