From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4512 invoked by alias); 6 May 2005 13:22:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 4226 invoked by uid 48); 6 May 2005 13:21:58 -0000 Date: Fri, 06 May 2005 13:22:00 -0000 Message-ID: <20050506132158.4224.qmail@sourceware.org> From: "tow21 at cam dot ac dot uk" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050113142634.19425.tow21@cam.ac.uk> References: <20050113142634.19425.tow21@cam.ac.uk> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug fortran/19425] Duplicate SAVE attribute problem X-Bugzilla-Reason: CC X-SW-Source: 2005-05/txt/msg00817.txt.bz2 List-Id: ------- 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 statement with a list of variables. > [snip] > Please be more specific if you think that I am wrong. Please see the thread on the gfortran mailing list, starting at The definitive answer is probably Richard Maine's at: In brief, the code is almost certainly illegal - but since g77 compiles it (as do several other compilers), it is a clear regression for gfortran to not allow its compilation (albeit not under -std=f95) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19425