While doing a bunch of experiments with randomly constructed sets of
optimization flags, I ran into the following compilation error while trying to
build SPEC CPU2000's 252.eon:

internal compiler error: in insert_save, at caller-save.c:1122

The problem occurs during compilation of various of the benchmark's C++ source
files, mainly for  mrSpotAreaXYDiskLuminaire.cc and mrGrid.cc, while using any
of the following combination of flags:

-O1 -fno-ira-share-save-slots -fcaller-saves 
-O2 -fno-ira-share-save-slots 
-O3 -fno-ira-share-save-slots 
-Os -fno-ira-share-save-slots 

I've created a significantly reduced testcase using delta (attached).

Reproducing the error should be as simple as the line below, using g++ 4.4.1:

g++ -O2 -fno-ira-share-saved-spill-slots testcase.ii


-- 
           Summary: ICE in insert_save (caller-save.c) for SPEC CPU2000's
                    252.eon
           Product: gcc
           Version: 4.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kenneth dot hoste at elis dot ugent dot be
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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

Reply via email to