[Bug libfortran/37707] Namelist read of array of derived type incorrect
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Oct 9 13:33:00 GMT 2008
------- Comment #8 from burnus at gcc dot gnu dot org 2008-10-09 13:31 -------
(In reply to comment #6)
> Tobias, should A(3)%M not be 89??
Yes. I realized too late that I pasted the output of a slightly different
program, which I used during testing. In any case today's build gives the same
output as NAG f95 (excepts that NAG writes the namelist as "&NAMLIS A = 1 5 2 6
89 99/") and the same output as ifort. [Sidenote: NAG's format works also with
gfortran since at least 4.2.]
> Jerry, I think that your namelist_54.f90 should test the values of A(3)
> as well as A(1) and A(2)
I agree with Paul that A(3)%m and A(3)%n should also be tested.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37707
More information about the Gcc-bugs
mailing list