https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84418
Bug ID: 84418
Summary: ICE with fortran OpenMP linear (ref ()) clause
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: jakub at gcc dot gnu.org
Target Milestone: ---
real function foo (x, y)
real :: x, y
!$omp declare simd linear (ref (x, y))
foo = x + y
end function
ICEs with -fopenmp, because OMP_CLAUSE_LINEAR_STEP is a REAL_CST 1.0 rather
than INTEGER_CST sizeof pointer.