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/30206] New: Fatal Error: Reading module: Bad name


This problem occurs after creating a module file with one compilation, and then
trying to use that module file in a second compilation, as shown below:

# gfortran -I/usr/local/openmpi-1.1.2-gcc/include -c -Wall -Jmod -I. -Imod -g
Source/Constants.f90 -o obj/Constants.o

# gfortran -I/usr/local/openmpi-1.1.2-gcc/include -c -Wall -Jmod -I. -Imod -g
Source/Timer.f90 -o obj/Timer.o
Fatal Error: Reading module constants at line 3 column 2: Bad name

All Timer.f90 needs to cause the problem is a "USE CONSTANTS" line.

I'm running gfortran 4.1.0 on RHEL4.

Thanks,
       Dennis


-- 
           Summary: Fatal Error: Reading module: Bad name
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dmcr at Princeton dot EDU


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


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