https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113305
Bug ID: 113305
Summary: ICE with do concurrent and ivdep
Product: gcc
Version: 13.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: ivan.pribec at gmail dot com
Target Milestone: ---
Created attachment 57022
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57022&action=edit
mwe using do concurrent and ivdep directive
An internal compiler error is triggered by adding the ivdep directive to a do
concurrent loop:
program dc
implicit none
real :: a(12), b(12)
integer :: i
call random_number(b)
!GCC$ ivdep
do concurrent (i=1:12)
a(i) = 2*b(i)
end do
end program
...
$ gfortran -Wall dc.f90
f951: internal compiler error: Segmentation fault: 11
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
See <https://github.com/Homebrew/homebrew-core/issues> for instructions.