[Bug fortran/86472] allocatable array, bound-procedure, submodule
dominiq at lps dot ens.fr
gcc-bugzilla@gcc.gnu.org
Sat Jul 28 10:03:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86472
--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Yes indeed with respect to the declaration of 't'. However, since the submodule
> is a separate compilation unit, I believe that it also must contain
> an 'implicit none' to pick up the undeclared variable 'x'. I will check
> the standard on this.
If I add
implicit none
real :: x
I get
print *,t, a, x
1
Error: Symbol 't' at (1) has no IMPLICIT type
More information about the Gcc-bugs
mailing list