[PATCH] Change duplicate SAVE behavior
Steven Bosscher
stevenb@suse.de
Thu Oct 20 20:02:00 GMT 2005
On Thursday 20 October 2005 20:51, Asher Langton wrote:
> Steven Bosscher wrote:
> > On Oct 10, 2005 08:15 AM, Asher Langton <langton2@llnl.gov> wrote:
> >>* decl.c (gfc_match_save): Changed duplicate SAVE errors to
> >>warnings in the absence of strict standard conformance
> >>
> >>* symbol.c (gfc_add_save): Same.
> >
> > Looks reasonable.
> > Why allow this with GFC_STD_GNU, instead of only with GFC_STD_LEGACY?
>
> I've changed GFC_STD_GNU to GFC_STD_LEGACY in the attached patch.
Thanks.
IMO the patch is OK if you can add test cases to verify we get the
expected behavior in all cases (plus a ChangeLog entrt, of course ;-)
Gr.
Steven
More information about the Fortran
mailing list