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

            Bug ID: 87360
           Summary: [8/9 Regression] ICE in remove_redundant_iv_tests at
                    gcc/tree-ssa-loop-ivcanon.c:571 since r255467
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: matz at gcc dot gnu.org
  Target Milestone: ---

One unroll and jam ICE I can see:

$ gcc
/home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/function_optimize_2.f90
-fno-tree-dce -O3 --param max-completely-peeled-insns=0
during GIMPLE pass: ivcanon
/home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/function_optimize_2.f90:3:0:

3 | program main
  | 
internal compiler error: Segmentation fault
0xb20c5f crash_signal
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-x86_64/build/gcc/toplev.c:325
0x7ffff6bc310f ???
       
/usr/src/debug/glibc-2.27-6.1.x86_64/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
0xc1ff23 remove_redundant_iv_tests
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-x86_64/build/gcc/tree-ssa-loop-ivcanon.c:571
0xc1ff23 canonicalize_loop_induction_variables
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-x86_64/build/gcc/tree-ssa-loop-ivcanon.c:1248
0xc22553 canonicalize_induction_variables()
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-x86_64/build/gcc/tree-ssa-loop-ivcanon.c:1294
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

Reply via email to