https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86472
Paul Thomas changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86472
--- Comment #6 from Jim Feng ---
't' is a local variable of myfunc1. If I change to following:
Module M1
implicit none
type :: mytype
contains
procedure ::
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86472
--- Comment #5 from Paul Thomas ---
Having now checked the standard, I have come to the belief that your
expectation that 't' will be associated in the procedure 'myfunc1' is
incorrect.
F2008 12.4.3.2 note 6 says:
"An interface body specifies
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86472
--- Comment #4 from Paul Thomas ---
(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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86472
--- Comment #3 from Dominique d'Humieres ---
> 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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86472
Paul Thomas changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86472
Dominique d'Humieres changed:
What|Removed |Added
Priority|P3 |P4