--- Comment #8 from pinskia at gcc dot gnu dot org 2005-10-24 15:09 ---
Fixed for 4.1 by:
fortran/
* decl.c (gfc_match_save): Changed duplicate SAVE errors to
warnings in the absence of strict standard conformance
* symbol.c (gfc_add_save): Same.
--
pi
--
What|Removed |Added
OtherBugsDependingO||19292
nThis||
Severity|minor |enhance
--- Additional Comments From tobi at gcc dot gnu dot org 2005-05-07 15:56
---
*** Bug 21434 has been marked as a duplicate of this bug. ***
--
What|Removed |Added
--- Additional Comments From tow21 at cam dot ac dot uk 2005-05-06 13:21
---
(In reply to comment #5)
> In the Fortran 77 standard (ANSI X3.9-1978) I could not find any sentence
that
> indicates that a SAVE statement without a list cannot appear in the same
program
> unit as a SAVE
--- Additional Comments From Konrad dot Bernloehr at mpi-hd dot mpg dot de
2005-05-06 13:08 ---
In the Fortran 77 standard (ANSI X3.9-1978) I could not find any sentence that
indicates that a SAVE statement without a list cannot appear in the same program
unit as a SAVE statement with a
--- Additional Comments From kargl at gcc dot gnu dot org 2005-03-22 18:36
---
Fortran 77 also forbids the behavior. It looks like the
code is illegal, and g77 contains a bug.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19425
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-12
23:19 ---
Confirmed.
--
What|Removed |Added
Status|UNCONFIRMED |NEW
E
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-14
23:41 ---
f90 has the same constraint as f95 at least that is what ICC reports.
--
What|Removed |Added
--- Additional Comments From tow21 at cam dot ac dot uk 2005-01-13 14:59
---
Brief correction - the reference to C578 is actually from the F2003 standard.
In f95 is it is the second, unnumbered, constraint in section 5.2.4.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19425