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

            Bug ID: 101580
           Summary: [12 Regression] ICE Segmentation fault since
                    r12-2429-g62acc72a957b5614
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: rsandifo at gcc dot gnu.org
  Target Milestone: ---

I know strange params, but still:

$ cat unpack.f90
   type i4_t
      integer v
   end type 
   type(i4_t), dimension(3,3) :: bt4
   if (any (bt4v .ne. reshape ((/1, 2, 0, 3, 1, 0, 0, 0, 4/), (/3, 3/)))) bt4%v
= 1
   if (any (bt4%v .ne. reshape ((/0, 2, 0, 3, 0, 0, 0, 0, 4/), (/3, 3/)))) STOP 
end 

$ gfortran unpack.f90 --param=max-completely-peeled-insns=0
-fno-tree-dominator-opts --param=unroll-jam-min-percent=0 -fno-tree-ch -O3 -c
during GIMPLE pass: unrolljam
unpack.f90:7:4:

    7 | end
      |    ^
internal compiler error: Segmentation fault
0xf3248a crash_signal
        /home/marxin/Programming/gcc/gcc/toplev.c:328
0x7ffff786239f ???
        ../sysdeps/unix/sysv/linux/sigaction.c:10
0x10a10ec tree_transform_and_unroll_loop(loop*, unsigned int, edge_def*,
tree_niter_desc*, void (*)(loop*, void*), void*)
        /home/marxin/Programming/gcc/gcc/tree-ssa-loop-manip.c:1426
0x19d267b tree_loop_unroll_and_jam
        /home/marxin/Programming/gcc/gcc/gimple-loop-jam.c:591
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