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

ICE with generic procedure

OP1
New Contributor III
274 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
156 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
157 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