[Bug fortran/33941] gfortran creates module files it can't read.
dominiq at lps dot ens dot fr
gcc-bugzilla@gcc.gnu.org
Tue Oct 30 14:15:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list