Compiler output:
$ gcc -r -nostdlib -O -flto testcase.c
lto1: internal compiler error: in cgraph_remove_unreachable_nodes, at ipa.c:245
Please submit a full bug report,
with preprocessed source if appropriate.
See <> for instructions.
returned 1 exit status
collect2: lto-wrapper returned 1 exit status

Tested revisions:
r164287 - crash
r163636 - crash
r161659 - OK

           Summary: [4.6 Regression] ICE: in
                    cgraph_remove_unreachable_nodes, at ipa.c:245 with -flto
                    and attribute((constructor))
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zsojka at seznam dot cz
  GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu

Reply via email to