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

2025.0.0 ICEs with long module/submodule names

OP1
New Contributor III
120 Views

When putting the following module and submodule in two distinct source files, ifx issues an ICE. If they are in a single source file, there is no problem. Note that the last ifort compiler didn't have this issue.

File #1:

MODULE M0123456789012345678901234567890123456789012
INTERFACE
    MODULE SUBROUTINE A1234567890123456789012345678901234567890123
    END SUBROUTINE A1234567890123456789012345678901234567890123
END INTERFACE
END MODULE M0123456789012345678901234567890123456789012

File #2:

SUBMODULE (M0123456789012345678901234567890123456789012) A1234567890123456789012345678901234567890123
CONTAINS
MODULE SUBROUTINE A1234567890123456789012345678901234567890123
END SUBROUTINE A1234567890123456789012345678901234567890123
END SUBMODULE A1234567890123456789012345678901234567890123

 

 

0 Kudos
1 Reply
Devorah_H_Intel
Moderator
9 Views

I am unable to reproduce the ICE with ifx 2025.0 (on Linux). There is a warning issued Global name is too long...

Please provide a complete output of your test and ICE error and the compiler version. 

0 Kudos
Reply