https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86472

--- Comment #4 from Paul Thomas <pault at gcc dot gnu.org> ---
(In reply to Dominique d'Humieres from comment #3)
> > 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

This points to the underlying problem. Somehow the symbol for 't' is not being
harvested from the interface.

Cheers

Paul

Reply via email to