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/23446] Valid internal subprogram array argument declaration is not accepted.


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


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