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

Another ICE with IVF XE 15.0.0.054

OP1
New Contributor III
515 Views

This code is wrong for all kinds of reasons - but it triggers an ICE with the latest (BETA) compiler:

PROGRAM MAIN

IMPLICIT NONE

INTEGER :: I
REAL :: A,B

DO I=1,2

    IF (I==1)
        ASSOCIATE (U=>A)
    ELSE
        ASSOCIATE (U=>B)
    END IF
    END ASSOCIATE

END DO

END PROGRAM MAIN

 

0 Kudos
2 Replies
Steven_L_Intel1
Employee
515 Views

Thanks - the ASSOCIATE isn't needed to see this bug. Escalated as issue DPD200256913.

0 Kudos
Steven_L_Intel1
Employee
515 Views

Fixed for the final 15.0.

0 Kudos
Reply