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/16404] should reject invalid code with -pedantic -std=f95 ? (x8)


------- Additional Comments From tobi at gcc dot gnu dot org  2004-07-11 23:40 -------
I'm sorry, you're right. Number 6 is indeed invalid: I didn't see it when
looking cursorily, because the syntactic rules and the constraints in the (draft
F95) standard have a peculiar order, but the first constraint after R427 says:
"If a component of a derived type is of a ttype declared to be private, either
the derived type definition must contain the PRIVATE stement, or the derived
type must be private."

-- 


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


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