This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29391] New: LBOUND(TRANSPOSE(I)) doesn't work
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Oct 2006 20:54:54 -0000
- Subject: [Bug fortran/29391] New: LBOUND(TRANSPOSE(I)) doesn't work
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I'm surprised this was not reported before, but can't find it in bugzilla.
$ cat a6.f90
INTEGER :: I(-1:1,-1:1)=0
WRITE(6,*) LBOUND(TRANSPOSE(I))
END
$ ifort a6.f90 && ./a.out
1 1
$ gfortran a6.f90 && ./a.out
-1 -1
--
Summary: LBOUND(TRANSPOSE(I)) doesn't work
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: fxcoudert at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29391