- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Devorah_H_Intel I can reproduce this on Windows (IFX 2025.0/VS 2022). MRE solution attached. Output:
Build started at 11:40...
1>------ Build started: Project: long_names (IFX), Configuration: Debug x64 ------
Compiling with Intel® Fortran Compiler 2025.0.0 [Intel(R) 64]...
Source1.f90
Source2.f90
ifx: error #10273: Fatal error in C:\PROGRA~2\Intel\oneAPI\compiler\2025.0\bin/compiler\xfortcom, terminated by 0xc0000409
Source3.f90
C:\Source\repos\sandbox\long_names\Source3.f90(1): warning #5462: Global name too long, shortened from: M0123456789012345678901234567890123456789012_mp_A1234567890123456789012345678901234567890123 to: 123456789012345678901234567890123456789012_mp_A1234567890123456789012345678901234567890123
Build log written to "file://C:/Source/repos/sandbox/long_names/x64/Debug/BuildLog.htm"
long_names - 1 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Build completed at 11:40 and took 01.183 seconds ==========
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page