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

Reply via email to