[Bug optimization/13893] New: ICE on legal code in emit_pop_insn, at reg-stack.c:922 (regression)

martin at mpa-garching dot mpg dot de gcc-bugzilla@gcc.gnu.org
Wed Jan 28 10:33:00 GMT 2004


Current g++ fails to compile the attached test case when optimization 
is enabled and give the following output: 
 
/bugrep>g++ -v -O2 -ffast-math -c test.ii 
Reading specs from /afs/mpa/data/martin/ugcc/lib/gcc/i686-pc-linux-gnu/3.5.0/
specs 
Configured with: /scratch/gcc/configure --prefix=/afs/mpa/data/martin/ugcc 
--enable-languages=c++ --disable-checking 
Thread model: posix 
gcc version 3.5.0 20040128 (experimental) 
 /afs/mpa/data/martin/ugcc/libexec/gcc/i686-pc-linux-gnu/3.5.0/cc1plus 
-fpreprocessed test.ii -quiet -dumpbase test.ii -mtune=pentiumpro -auxbase 
test -O2 -version -ffast-math -o /tmp/ccfPqmQs.s 
GNU C++ version 3.5.0 20040128 (experimental) (i686-pc-linux-gnu) 
        compiled by GNU C version 3.5.0 20040128 (experimental). 
GGC heuristics: --param ggc-min-expand=63 --param ggc-min-heapsize=63470 
cxxmod/detector_pointing.cc: In member function `void 
Detector_Pointing::Get_Pointings(int, double, int, arr<pointing>&, arr<vec3>&, 
arr<double>&) const': 
cxxmod/detector_pointing.cc:56: internal compiler error: in emit_pop_insn, at 
reg-stack.c:922 
Please submit a full bug report, 
with preprocessed source if appropriate. 
See <URL:http://gcc.gnu.org/bugs.html> for instructions. 
 
This is a regression to g++ 3.3.2. 
I can try to reproduce the problem with a compiler which has checking 
enabled, if needed. 
 
Sorry for the very big test case; I currently don't have time to make it 
smaller.

-- 
           Summary: ICE on legal code in emit_pop_insn, at reg-stack.c:922
                    (regression)
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: martin at mpa-garching dot mpg dot de
                CC: gcc-bugs at gcc dot gnu dot org,martin at mpa-garching
                    dot mpg dot de
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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



More information about the Gcc-bugs mailing list