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/16400] Invalid usage of assumed-size arrays is not rejected


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


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