This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33941] gfortran creates module files it can't read.
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Oct 2007 14:15:11 -0000
- Subject: [Bug fortran/33941] gfortran creates module files it can't read.
- References: <bug-33941-7575@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from dominiq at lps dot ens dot fr 2007-10-30 14:15 -------
Comparing the working mod file to the non working one, I have found that "GT"
was replaced by ">" and "LE" by "<=". I ignored the warning "If you edit this,
you'll get what you deserve." and did the changes in the non working files and
the error disappeared. So apparently the writing of mod files have been changed
to write ">" and "<=", but the reading has not been modified to accomodate the
change.
Note that the make failed at
/Volumes/Interne-150/_opt/f1-gcc4.3w/bin/gfortran -c -g -O2 -I../objs/finclude
m_dom_dom.f90
m_dom_dom.f90:10630.37:
character(len=getsystemId_len(np, associated(np))) :: c
1
Error: Inquiry function 'associated' at (1) is not permitted in an
initialization expression
...
I don't know if the error is another regression or a "compile invalid" in
4.2.2.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33941