[Bug libfortran/37294] Namelist I/O to array character internal units
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Nov 13 15:56:00 GMT 2008
------- Comment #4 from burnus at gcc dot gnu dot org 2008-11-13 15:55 -------
Patch was: http://gcc.gnu.org/ml/fortran/2008-11/msg00080.html
I'm not completely satisfied with the patch it will break code such as:
character(50) :: line(2)
namelist /stuff/ n, m
n = 123
m = 456
write(line,nml=stuff)
which worked before. The true solution would be to do the same as NAG f95 does
(cf. comment 2), but the challenge is to do is such that there is no
performance penalty for code which fits into one line / for scalars.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37294
More information about the Gcc-bugs
mailing list