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

Reply via email to