- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The following code produces an ICE (error #5270: Internal Compiler Error: symbol not a SYMTOK). The code is a bit silly in the sense that the module M is (obviously) absent - and the compiler correctly identifies that error. Still, no ICE should be produced after that - so I report this in the spirit of completeness.
This is with Intel Fortran Compiler Classic 2021.5.0 [IA-32].
SUBMODULE (M) F
CONTAINS
MODULE FUNCTION F() RESULT(R)
END
END
Interestingly...
- If you replace line 3 with either MODULE PROCEDURE F or MODULE SUBROUTINE F, then no ICE is produced.
- If you remove RESULT(R) from line 3, no ICE is produced.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This ICE melted in the latest compiler release, 2021.7.0, which is part of the oneAPI HPC Toolkit 2022.3. This version was released earlier this month.
Please try it!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for reporting this. You certainly find some obscure issues. But we like it!
I filed CMPLRIL0-34665 for you. I'll let you know when the fix is available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks @Barbara_P_Intel !
One of the 'benefits' of working on a huge code is that it gives plenty of opportunities for the developer to create silly coding mistakes - that can be boiled down (after a little bit of work, admittedly) to simple reproducers like this.
I swear I am not doing this on purpose, ha ha.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This ICE melted in the latest compiler release, 2021.7.0, which is part of the oneAPI HPC Toolkit 2022.3. This version was released earlier this month.
Please try it!

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page