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 fortran/29391] LBOUND(TRANSPOSE(I)) doesn't work



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


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