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

             Bug #: 50530
           Summary: [4.7 Regression] ICE in inline_read_section, at
                    ipa-inline-analysis.c:2895
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: mar...@trippelsdorf.de


I've hit the following ICE while building the latest Gold linker
(with CXXFLAGS='-march=native -O2 -pipe -flto'):

 g++ -W -Wall -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-frandom-seed=ld-new -march=native -O2 -pipe -flto -o ld-new main.o i386.o
x86_64.o sparc.o powerpc.o arm.o arm-reloc-property.o libgold.a
../libiberty/libiberty.a -ldl -lz
lto1: internal compiler error: in inline_read_section, at
ipa-inline-analysis.c:2885
Please submit a full bug report,

I've used delta to reduce it to:

/usr/libexec/gcc/x86_64-pc-linux-gnu/4.7.0/lto1 libgold.a@0x3da2600
../libiberty/libiberty.a@0x99f76 -O1
Reading command line options: libgold.a@0x3da2600
../libiberty/libiberty.a@0x99f76
Reading object files: libgold.a@0x3da2600 ../libiberty/libiberty.a@0x99f76
Reading the callgraph
Merging declarations
Reading summaries
lto1: internal compiler error: in inline_read_section, at
ipa-inline-analysis.c:2895

But I don't know how to reduce it further.

Reply via email to