public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/37597]  New: internal procedure fails to access host-associated module procedure
@ 2008-09-20  6:57 burnus at gcc dot gnu dot org
  2008-09-21 19:39 ` [Bug fortran/37597] " pault at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: burnus at gcc dot gnu dot org @ 2008-09-20  6:57 UTC (permalink / raw)
  To: gcc-bugs

http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/150847ad37d33cdb

The following is rejected with:
  Error: Symbol 'other_sub' at (1) has no IMPLICIT type

If one moves other_sub up in the module, it works.

 module foo
   implicit none
contains
   subroutine main_sub ()
     call internal_sub()
   contains
     subroutine internal_sub()
       call QAG(other_sub)
     end subroutine internal_sub
   end subroutine main_sub
   subroutine other_sub ()
   end subroutine other_sub
end module foo


-- 
           Summary: internal procedure fails to access host-associated
                    module procedure
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org
OtherBugsDependingO 32834
             nThis:


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37597


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-11-08 14:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-20  6:57 [Bug fortran/37597] New: internal procedure fails to access host-associated module procedure burnus at gcc dot gnu dot org
2008-09-21 19:39 ` [Bug fortran/37597] " pault at gcc dot gnu dot org
2008-11-04 21:14 ` pault at gcc dot gnu dot org
2008-11-04 21:20 ` pault at gcc dot gnu dot org
2008-11-08 14:20 ` pault at gcc dot gnu dot org
2008-11-08 14:20 ` pault at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).