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

            Bug ID: 85712
           Summary: [8/9 Regression] ICE in all_phi_incrs_profitable_1 at
                    gcc/gimple-ssa-strength-reduction.c:3479
           Product: gcc
           Version: unknown
            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: rguenth at gcc dot gnu.org
  Target Milestone: ---

Starting from r251264 we ICE on:

$ ./xgcc -B.
/home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/whole_file_9.f90 -O3
--param scev-max-expr-size=0 -c
during GIMPLE pass: slsr
/home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/whole_file_9.f90:8:0:

 program test

internal compiler error: Segmentation fault
0xc5b59f crash_signal
        ../../gcc/toplev.c:325
0x865faa dominated_by_p(cdi_direction, basic_block_def const*, basic_block_def
const*)
        ../../gcc/dominance.c:1118
0x1464481 all_phi_incrs_profitable_1
        ../../gcc/gimple-ssa-strength-reduction.c:3479
0x1464aa4 all_phi_incrs_profitable
        ../../gcc/gimple-ssa-strength-reduction.c:3550
0x1464aa4 replace_profitable_candidates
        ../../gcc/gimple-ssa-strength-reduction.c:3806
0x14649e3 replace_profitable_candidates
        ../../gcc/gimple-ssa-strength-reduction.c:3838
0x1468cbc analyze_candidates_and_replace
        ../../gcc/gimple-ssa-strength-reduction.c:3917
0x1468cbc execute
        ../../gcc/gimple-ssa-strength-reduction.c:3995

Reply via email to