https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86470
Bug ID: 86470
Summary: ICE with OMP
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: juergen.reuter at desy dot de
Target Milestone: ---
The code below leads to an ICE:
$ gfortran -fopenmp omp2.f90
during GIMPLE pass: omplower
omp2.f90:5:0:
!$OMP PARALLEL private(val)
internal compiler error: Segmentation fault: 11
libbacktrace could not find executable to open
program select_type_openmp
!$ use omp_lib
implicit none
class(*), allocatable :: val
!$OMP PARALLEL private(val)
allocate(integer::val)
deallocate(val)
!$OMP END PARALLEL
end program select_type_openmp