This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/33897] [4.1/4.2/4.3 Regression] Entries and modules



------- Comment #2 from jv244 at cam dot ac dot uk  2007-10-25 17:41 -------
this works with gcc_4_0_branch, which makes this a regression.

MODULE M1
CONTAINS
 SUBROUTINE S2()
    ENTRY E2()
    write(6,*) 'C'
 END SUBROUTINE S2
END MODULE M1

SUBROUTINE S2()
    ENTRY E2()
    write(6,*) 'E'
END SUBROUTINE S2

USE M1
CALL E2()
END


-- 

jv244 at cam dot ac dot uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.0.4
            Summary|Should an ENTRY in a        |[4.1/4.2/4.3 Regression]
                   |contained function be       |Entries and modules
                   |visible from another        |
                   |contained routine?          |


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]