New Contributor II
05-11-2022 12:51 PM
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