From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 948 invoked by alias); 20 Sep 2008 06:57:55 -0000 Received: (qmail 676 invoked by uid 48); 20 Sep 2008 06:56:34 -0000 Date: Sat, 20 Sep 2008 06:57:00 -0000 Subject: [Bug fortran/37597] New: internal procedure fails to access host-associated module procedure X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "burnus at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-09/txt/msg02320.txt.bz2 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