Possible bug in gfortran: array sections in actual arguments
Tobias Burnus
burnus@net-b.de
Wed Jan 28 18:11:00 GMT 2009
Hi Clive,
Clive Page wrote:
> I think I may have found a bug in the way that gfortran handles array
> sections. I had an image that I wanted to invert in the y-axis, so
> handed it over to a subroutine as an array section, e.g.
> array(:, ny:-:-1)
> This didn't work, as shown below.
Looks as if this is indeed a bug in gfortran -- since day 1 (present in
4.1, 4.2, 4.3, 4.4). I filled a bug report:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39006
Tobias
More information about the Fortran
mailing list