This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/59276] New: Incorrect error message with modules of different gfortran versions
- From: "Joost.VandeVondele at mat dot ethz.ch" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 24 Nov 2013 19:15:11 +0000
- Subject: [Bug fortran/59276] New: Incorrect error message with modules of different gfortran versions
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59276
Bug ID: 59276
Summary: Incorrect error message with modules of different
gfortran versions
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: Joost.VandeVondele at mat dot ethz.ch
This 'bug' might lead to some confusion.
If an older version of gfortran (i.e. 4.8) reads a module generated with 4.9
the error message is:
Fatal Error: File 'm1.mod' opened at (1) is not a GNU Fortran module file
instead of the more useful variant one had with 4.8/4.7
Fatal Error: Wrong module version '10' (expected '9') for file 'm1.mod' opened
at
(1)
I don't see how this can be fixed other than fixing the error message on the
release branches into '... not a module file compatible with this version of
GNU Fortran'.