[Bug fortran/16400] Invalid usage of assumed-size arrays is not rejected

lei at il dot ibm dot com gcc-bugzilla@gcc.gnu.org
Mon Jul 12 06:55:00 GMT 2004


------- Additional Comments From lei at il dot ibm dot com  2004-07-12 06:55 -------
(In reply to comment #2)
> The Fortran 95 (draft) standard continues that sentence "or in a reference to
> the intrinsic function LBOUND." (p 56, line 26). Is that not in the F2K standard?

My understanding is that LBOUND is just an example of a function that is
always allowed for assumed-size arrays.  UBOUND is allowed except for the
last dimension.  SIZE and SHAPE are not allowed because assumed-size arrays
have no upper bound in last dimension.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16400



More information about the Gcc-bugs mailing list