Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Another ICE...

OP1
New Contributor III
725 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
658 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
659 Views

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

0 Kudos
Reply