- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would like to report an internal compiler error and a strange bug.
The file named 'M_IntelBug.f90' shows a simple reproducer of the problem that causes an internal compiler error (ICE). The other three files shows a simple reproducer of the problem that causes a strange (but certainly) bug.
As illustrated in the 'M_IntelBug.f90' file, the ICE occurred when a mistake was made by calling a type-bound procedure (that has no other argument) without parentheses and this procedure call was used as an input to construct a derived type variable. If the same mistake is made but the procedure call is used in an assignment expression, the compiler is able to recognize the mistake and properly report the error.As for the strange bug, it occurs in the 'SMOD_W_EXTERNAL.f90' file (a submodule) where the compiler reports "error #7257: The characteristics of the procedure argument differ from those specified in the separate interface body." Nonetheless, if you have a subroutine following the routine that causes an error (e.g..by uncommenting the DUMMY subroutine), the error then disappears. I also includes the 'SMOD_WO_EXTERNAL' file (also a submodule) to show that this bug relates to an external procedure as argument.
Note: These two problems occur for both IFORT (last version - 2021.12.0) and IFX (latest version - 2025.2.0) so I think they are in the front end of the compiler(s).
Niranama
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The bug ID for the ICE is CMPLRLLVM-70733
thanks for sending this to us. I am writing a separate report for the SMOD issue and will post that bug ID here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
the bug ID for the Submodule issue is CMPLRLLVM-70739

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