Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28995 Discussions

ICE with ifort 2021.8.0 in block within openmp parallel region

martinmath
New Contributor II
554 Views

The following code causes an ICE with ifort 2021.8.0 if compiled with ifort -qopenmp. BTW, it compiles fine with recent ifx.

program test
implicit none

!$omp parallel default(shared)
   block
      class(*), allocatable::x
      allocate(x,mold='test')
   end block
!$omp end parallel

end program test

 

 

0 Kudos
1 Reply
Ron_Green
Moderator
529 Views

bug ID CMPLRIL0-35156


0 Kudos
Reply