This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/23446] Valid internal subprogram array argument declaration is not accepted.
- From: "enok at lysator dot liu dot se" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Aug 2005 07:42:27 -0000
- Subject: [Bug fortran/23446] Valid internal subprogram array argument declaration is not accepted.
- References: <20050817170511.23446.enok@lysator.liu.se>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From enok at lysator dot liu dot se 2005-08-18 07:42 -------
After some research, I'm pretty sure the rejected code is legal.
§734: A specification-expr is a scalar-int-expr
Constraint: The scalar-int-expr shall be a restricted expression
Since "a variable from the host program unit" is a restricted expression the
code is valid.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23446