http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47888

           Summary: tree check: expected array_type, have record_type in
                    array_ref_low_bound, at expr.c:6248
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: d.g.gorbac...@gmail.com


Created attachment 23461
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23461
Testcase

$ gcc -O -flto -DPR47888 main.c s.c
[...]
main.c:5:5: error: constant not recomputed when ADDR_EXPR changed
&s[n.1_2main.c:5:5: internal compiler error: tree check: expected array_type,
have record_type in array_ref_low_bound, at expr.c:6248
[...]

Reply via email to