This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]