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

Another ICE...

OP1
New Contributor III
227 Views

The code below triggers an ICE with ifx 2025.1.0.

MODULE M
IMPLICIT NONE
TYPE :: T_A
    CONTAINS
    PROCEDURE, PUBLIC :: P
END TYPE T_A
TYPE :: T_B
    TYPE(T_A) :: A
END TYPE T_B
TYPE(T_B) :: O[*]
CONTAINS
    SUBROUTINE P(X)
        IMPLICIT NONE
        CLASS(T_A), INTENT(IN) :: X[*]
    END SUBROUTINE P
END MODULE M
   
PROGRAM P
USE :: M
IMPLICIT NONE
CALL O[THIS_IMAGE()]%A%P()
END PROGRAM P
0 Kudos
1 Solution
Devorah_H_Intel
Moderator
160 Views

I tested this internally, and there is no ICE with the upcoming 2025.2 release of ifx. 

View solution in original post

0 Kudos
1 Reply
Devorah_H_Intel
Moderator
161 Views

I tested this internally, and there is no ICE with the upcoming 2025.2 release of ifx. 

0 Kudos
Reply