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