This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/37707] Namelist read of array of derived type incorrect
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Oct 2008 13:31:40 -0000
- Subject: [Bug libfortran/37707] Namelist read of array of derived type incorrect
- References: <bug-37707-109@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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