[Bug fortran/34495] [4.3 Regression] accepts invalid initialization expressions with -std=f95

burnus at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Dec 17 19:01:00 GMT 2007



------- Comment #7 from burnus at gcc dot gnu dot org  2007-12-17 19:01 -------
In words of the standard (esp. last sentence):

"If an initialization expression includes a specification inquiry that depends
on a type parameter or an array bound of an entity specified in the same
specification-part, the type parameter or array bound shall be specified in a
prior specification of the specification-part. The prior specification may be
to the left of the specification inquiry in the same statement, but shall not
be within the same entity-decl."


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34495



More information about the Gcc-bugs mailing list