[Patch, Fortran] PR34438 - Bogus -std=f95 error for public variables of private type

Tobias Burnus burnus@net-b.de
Wed Dec 12 20:42:00 GMT 2007

This patches the least important part of PR34438. GNU Fortran was giving
an error with -std=f95 for local variables of PUBLIC procedures, when
the host-associated TYPE is PRIVATE.

(There is an other check, which makes sure that dummy arguments of
public procedures with private type are rejected with -std=f95.)

Build and regression tested on x86-64-linux.

OK for the trunk?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: private.diff
Type: application/unknown
Size: 2084 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20071212/1929dc0a/attachment.bin>

More information about the Gcc-patches mailing list