[Bug fortran/38171] [regression] equivalence and nested modules broken

2008-11-19 Thread pault at gcc dot gnu dot org
--- Comment #7 from pault at gcc dot gnu dot org 2008-11-19 16:21 --- (In reply to comment #6) > I don't know if the code in comment #0 is valid or not, but if the file > h5global.mod does not exist compiling it with gfortran r141995 gives: > > pr38171.f90:2.14: > > USE H5GLOBAL >

[Bug fortran/38171] [regression] equivalence and nested modules broken

2008-11-19 Thread dominiq at lps dot ens dot fr
--- Comment #6 from dominiq at lps dot ens dot fr 2008-11-19 12:40 --- I don't know if the code in comment #0 is valid or not, but if the file h5global.mod does not exist compiling it with gfortran r141995 gives: pr38171.f90:2.14: USE H5GLOBAL 1 Fatal Error: Can't open m

[Bug fortran/38171] [regression] equivalence and nested modules broken

2008-11-18 Thread pault at gcc dot gnu dot org
--- Comment #5 from pault at gcc dot gnu dot org 2008-11-19 03:49 --- Fixed on trunk and 4.3. Thanks for the report. Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug fortran/38171] [regression] equivalence and nested modules broken

2008-11-18 Thread pault at gcc dot gnu dot org
--- Comment #4 from pault at gcc dot gnu dot org 2008-11-19 03:47 --- Subject: Bug 38171 Author: pault Date: Wed Nov 19 03:46:12 2008 New Revision: 141992 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141992 Log: 2008-11-19 Paul Thomas <[EMAIL PROTECTED]> PR fortran/

[Bug fortran/38171] [regression] equivalence and nested modules broken

2008-11-18 Thread pault at gcc dot gnu dot org
--- Comment #3 from pault at gcc dot gnu dot org 2008-11-19 03:43 --- Subject: Bug 38171 Author: pault Date: Wed Nov 19 03:41:57 2008 New Revision: 141991 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141991 Log: 2008-11-19 Paul Thomas <[EMAIL PROTECTED]> PR fortran/

[Bug fortran/38171] [regression] equivalence and nested modules broken

2008-11-18 Thread pault at gcc dot gnu dot org
--- Comment #2 from pault at gcc dot gnu dot org 2008-11-18 20:26 --- Ah, yes. The module name check only pertains to the module being read. Instead, it should check that the equivalence members are from the same module - this might itself be use associated into the module being read.

[Bug fortran/38171] [regression] equivalence and nested modules broken

2008-11-18 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2008-11-18 19:41 --- This is a regression that appears to be caused by r140879 | pault | 2008-10-04 22:50:00 -0700 (Sat, 04 Oct 2008) | 12 lines 2008-10-04 Paul Th