[Patch, Fortran] Change error into std-notify (F2003) for private type to public interfaces

Tobias Burnus burnus@net-b.de
Wed Sep 12 17:59:00 GMT 2007


:ADDPATCH fortran:

Fortran 95 has the restriction:

"5.2.3 Accessibility statements
[...]
Constraint: A module procedure that has a dummy argument or function
result of a type that has PRIVATE accessibility shall have PRIVATE
accessibility and shall not have a generic identifier that has PUBLIC
accessibility."

In Fortran 2003 this restriction is gone.

Build and regtested on x86-64/Linux. Ok for the trunk?

Tobias
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: private.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070912/d58f4b83/attachment.ksh>


More information about the Gcc-patches mailing list