This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/16400] Invalid usage of assumed-size arrays is not rejected
- From: "lei at il dot ibm dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jul 2004 06:55:15 -0000
- Subject: [Bug fortran/16400] Invalid usage of assumed-size arrays is not rejected
- References: <20040707065108.16400.lei@il.ibm.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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