https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72103

            Bug ID: 72103
           Summary: ICE with gcc 7 for povray benchmark
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bergner at gcc dot gnu.org
  Target Milestone: ---

We get an ICE when building 453.povray in SPEC CPU2006.

/home/gcc/gcc-trunk-20160712.install/bin/g++ -c -o super.o -DSPEC_CPU -DNDEBUG 
 -L/home/gcc/gcc-trunk-20160712.install/lib64
-Wl,-rpath,/home/gcc/gcc-trunk-20160712.install/lib64 -O3 -ffast-math
-funroll-loops -mcpu=power8 -mrecip=all -fno-shrink-wrap-separate  
-DSPEC_CPU_LP64  -save-temps     super.cpp
super.cpp: In function 'void pov::solve_hit1(pov::SUPERELLIPSOID*, double,
double*, double, double*, double*)':
super.cpp:1543:1: internal compiler error: Segmentation fault
}
^
0x10b93ab3 crash_signal
 /home/gcc/gcc-trunk-20160712/gcc/toplev.c:335
0x10adfc78 push_secondary_reload
 /home/gcc/gcc-trunk-20160712/gcc/reload.c:385
0x10adff4f push_secondary_reload
 /home/gcc/gcc-trunk-20160712/gcc/reload.c:370
0x10ae18f3 push_reload(rtx_def*, rtx_def*, rtx_def**, rtx_def**, reg_class,
machine_mode, machine_mode, int, int, int, reload_type)
 /home/gcc/gcc-trunk-20160712/gcc/reload.c:1366
0x10ae8537 find_reloads(rtx_insn*, int, int, int, short*)
 /home/gcc/gcc-trunk-20160712/gcc/reload.c:4035
0x10afd2cb calculate_needs_all_insns
 /home/gcc/gcc-trunk-20160712/gcc/reload1.c:1483
0x10afd2cb reload(rtx_insn*, int)
 /home/gcc/gcc-trunk-20160712/gcc/reload1.c:995
0x10951363 do_reload
 /home/gcc/gcc-trunk-20160712/gcc/ira.c:5396
0x10951363 execute
 /home/gcc/gcc-trunk-20160712/gcc/ira.c:5568
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Things compile fine when using -mlra.

Reply via email to