public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [Patch, Fortran] PR34438 - Bogus -std=f95 error for public variables  of private type
@ 2007-12-12 20:42 Tobias Burnus
  2007-12-14 15:13 ` Jerry DeLisle
  0 siblings, 1 reply; 2+ messages in thread
From: Tobias Burnus @ 2007-12-12 20:42 UTC (permalink / raw)
  To: 'fortran@gcc.gnu.org', gcc-patches

[-- Attachment #1: Type: text/plain, Size: 386 bytes --]

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 #2: private.diff --]
[-- Type: application/unknown, Size: 2084 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Patch, Fortran] PR34438 - Bogus -std=f95 error for public  variables of private type
  2007-12-12 20:42 [Patch, Fortran] PR34438 - Bogus -std=f95 error for public variables of private type Tobias Burnus
@ 2007-12-14 15:13 ` Jerry DeLisle
  0 siblings, 0 replies; 2+ messages in thread
From: Jerry DeLisle @ 2007-12-14 15:13 UTC (permalink / raw)
  To: Tobias Burnus; +Cc: 'fortran@gcc.gnu.org', gcc-patches

Tobias Burnus wrote:
> 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

OK,

Jerry

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-12-14 15:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-12 20:42 [Patch, Fortran] PR34438 - Bogus -std=f95 error for public variables of private type Tobias Burnus
2007-12-14 15:13 ` Jerry DeLisle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).