This is the mail archive of the gcc-patches@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]

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


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?

Tobias

Attachment: private.diff
Description: application/unknown


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