This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29391] LBOUND(TRANSPOSE(I)) doesn't work
- From: "paulthomas2 at wanadoo dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Oct 2006 06:11:43 -0000
- Subject: [Bug fortran/29391] LBOUND(TRANSPOSE(I)) doesn't work
- References: <bug-29391-10259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from paulthomas2 at wanadoo dot fr 2006-10-11 06:11 -------
Subject: Re: LBOUND(TRANSPOSE(I)) doesn't work
FX,
>
>That's because of F95 13.14.53:
>
>Case (i): For an array section or for an array expression other than a whole
>array or array structure component, LBOUND(ARRAY, DIM) has the value 1. For a
>whole array or array structure component, LBOUND(ARRAY, DIM) has the value:
> (a) equal to the lower bound for subscript DIM of ARRAY if dimension DIM of
>ARRAY does not have extent zero or if ARRAY is an assumed-size array of rank
>DIM, or
> (b) 1 otherwise.
>
>
>
>
That's what I was asking. OK, we have a problem with allocatable
components too.
Cheers
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29391