Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
The Intel sign-in experience is changing in February to support enhanced security controls. If you sign in, click here for more information.

Another day... another ICE

OP1
New Contributor II
223 Views

The code below triggers an ICE with ifort 2021.6.0 and ifx 2022.1.0 (both debug or release, x64). Yes I know it does not make sense to compile a submodule on its own when the ancestor module is nowhere to be found ... still, this is an ICE.

SUBMODULE (M) T
IMPLICIT NONE (TYPE, EXTERNAL)
CONTAINS
MODULE SUBROUTINE T(U)
PROCEDURE(P) :: U
END SUBROUTINE T
END SUBMODULE T

 

0 Kudos
2 Replies
Barbara_P_Intel
Moderator
181 Views

You're keeping me busy! I filed CMPLRLLVM-37573 for you.



Barbara_P_Intel
Moderator
43 Views

This ICE is melted with the Fortran compilers released in December as part of oneAPI HPC Toolkit 2023.0. Please give it a try!



Reply