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

ICE with ifort 2021.8.0 in block within openmp parallel region

martinmath
New Contributor II
540 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
515 Views

bug ID CMPLRIL0-35156


0 Kudos
Reply