This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/37707] Namelist read of array of derived type incorrect



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]