Compilation problem with implicit none nvfortran 23.7

this does not compile unless -DNO_IMPNONE is used
module type_1
implicit none
type :: type1
integer :: val
contains
procedure, PASS :: setval => setval1
end type
interface
module subroutine setval1(this, what)
#if ! defined(NO_IMPNONE)
implicit none ! compilation error if this line is present
endif
class(type1), intent(INOUT) :: this
integer, intent(IN) :: what
end
end interface
end
error message :
NVFORTRAN-S-0038-Symbol, .O0000, has not been explicitly declared

Hi mfvalin,

Thanks for the report. I double checked with engineer and they agree that this is a compiler issue. Hence, I filed problem report TPR #34298.

-Mat

FYI, TPR #34298 was fixed in our 24.5 release.