https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101264
Bug ID: 101264
Summary: ICE in vect_optimize_slp, at tree-vect-slp.c:3880
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: burnus at gcc dot gnu.org
Target Milestone: ---
Created attachment 51085
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51085&action=edit
Compile with: gfortran -Ofast
The ICE occurs with compiling with
gfortran -Ofast
or
gfortran -O3 -ffast-math -fno-protect-parens
during GIMPLE pass: slp
foo2.f90:1:16:
1 | SUBROUTINE foo (a,b,c,d,trigs,inc1,inc2,inc3,inc4,lot,n,la)
| ^
internal compiler error: in vect_optimize_slp, at tree-vect-slp.c:3880
0x789de1 vect_optimize_slp(vec_info*)
../../repos/gcc/gcc/tree-vect-slp.c:3880
0x1229de1 vect_optimize_slp(vec_info*)
../../repos/gcc/gcc/tree-vect-slp.c:5734
0x1229de1 vect_slp_analyze_bb_1
../../repos/gcc/gcc/tree-vect-slp.c:5698