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 have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.

ICE with generic procedure

OP1
New Contributor III
881 Views

The following code ICEs with ifx (2024.2.0) and the latest ifort as well.

MODULE M
IMPLICIT NONE
GENERIC :: G1 => S
GENERIC :: G2 => G1, T
CONTAINS
    SUBROUTINE S
    END SUBROUTINE S
    SUBROUTINE T(X)
    INTEGER :: X
    END SUBROUTINE T
END MODULE M
1 Solution
Devorah_H_Intel
Moderator
763 Views

I was able to reproduce the ICE internally. This case is now escalated to compiler engineering for a fix. Thank you for reporting this to us.


View solution in original post

0 Kudos
1 Reply
Devorah_H_Intel
Moderator
764 Views

I was able to reproduce the ICE internally. This case is now escalated to compiler engineering for a fix. Thank you for reporting this to us.


0 Kudos
Reply