This is the mail archive of the gcc-patches@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]

Re: [Patch, Fortran] PR34759 - Fix assumed-size check for intrinsic procedures


Tobias Burnus wrote:
If  "A(4,4,*)" then  A and A(4,4,:)  are invalid for, e.g., SHAPE.
However, A(:,:,4) is a rank-2 array with known bounds.

Solution: We need to add a check whether we have the whole array;
"A(:,:,:)" is already rejected elsewhere.

Build and regtested on x86-64-linux.
OK for the trunk?

Tobias

OK, thanks,

Jerry


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