[PATCH] Debug support for Fortran 90 assumed shape and other descriptor using arrays (PR fortran/22244)
Jakub Jelinek
jakub@redhat.com
Fri Nov 16 16:49:00 GMT 2007
On Fri, Nov 16, 2007 at 05:14:14PM +0100, Tobias Burnus wrote:
> Regarding the test case a4.f90 and a4.f90: I get for x(3,1) with
> gfortran a "10.0" but with g95, nag f95 and ifort a "4.0", which
> indicates a bug in gfortran.
That depends. There are two foo calls, one is called with x,
one with transpose(x). So, x(3,1) is supposed to be 4.0 after
the first foo and 10.0 after the second foo call.
And it works just fine for me with gfortran.
Jakub
More information about the Fortran
mailing list