[PATCH] Change duplicate SAVE behavior

Asher Langton langton2@llnl.gov
Thu Oct 20 20:03:00 GMT 2005


Steven Bosscher wrote:
> 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 ;-)

I forgot to link back to the original Changelog and testcases:

http://gcc.gnu.org/ml/fortran/2005-10/msg00184.html


-Asher



More information about the Fortran mailing list