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

Another day... another ICE

OP1
New Contributor II
301 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
259 Views

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



0 Kudos
Barbara_P_Intel
Moderator
121 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!



0 Kudos
Reply