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

error #5632: **Internal compiler error: specification exception signal raised**

JacekDziedzic
Beginner
770 Views

The following MWE 

module mwe
  implicit none

  type T
     integer :: n
  end type T

  type U
     integer, allocatable :: J(:)
  end type U

contains

  subroutine aa(tt, uu)
    implicit none

    type(T), intent(in)           :: tt
    type(U), optional, intent(in) :: uu(tt%n)

contains

    subroutine internal_of_aa
      implicit none
      call absent(tt,uu)
    end subroutine internal_of_aa

  end subroutine aa

  subroutine bb
    implicit none
    integer :: ii

!$OMP PARALLEL DO
    do ii = 1, 2
    end do
!$OMP END PARALLEL DO

  end subroutine bb

end module mwe

causes ifx (IFX) 2025.1.0 20250317 to ICE when trying to compile with OpenMP, i.e.:

ifx -qopenmp mwe.F90
#0 0x0000000003310581
#1 0x0000000003375357
#2 0x0000000003375485
#3 0x0000150722e3e730
#4 0x000000000254a784
#5 0x000000000255159e
#6 0x000000000255142b
#7 0x00000000023405b3
#8 0x0000000002787162
#9 0x00000000027818e2
#10 0x000000000236c21b
#11 0x00000000024efa9b
#12 0x00000000024ef553
#13 0x00000000024e97f2
#14 0x00000000032ae584
#15 0x00000000032abde3
#16 0x0000000003256111
#17 0x0000000003433b58
#18 0x0000150722e295d0
#19 0x0000150722e29680 __libc_start_main + 128
#20 0x000000000308f0ee

/tmp/ifx0021656141V07ebn/ifxIQKNuY.i90: error #5632: **Internal compiler error: specification exception signal raised** Please report this error along with the circumstances in which it occurred in a Software Problem Report. Note: File and line given may not be explicit cause of this error.
compilation aborted for mwe.F90 (code 3)

Dropping -qopenmp makes the compiler behave:

undefined reference to `absent_'

 

Any ideas how to work around that issue?

1 Reply
Xiaoping_D_Intel
Employee
666 Views

I can reproduce the error and will open a bug report. It will be fixed in future product.


0 Kudos
Reply