From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3456 invoked by alias); 6 Sep 2005 19:31:48 -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 3446 invoked by uid 48); 6 Sep 2005 19:31:44 -0000 Date: Tue, 06 Sep 2005 19:31:00 -0000 Message-ID: <20050906193143.3445.qmail@sourceware.org> From: "dir at lanl dot gov" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050901130843.23677.federico.carminati@cern.ch> References: <20050901130843.23677.federico.carminati@cern.ch> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug fortran/23677] -fno-automatic does not accept legal save statements X-Bugzilla-Reason: CC X-SW-Source: 2005-09/txt/msg00708.txt.bz2 List-Id: ------- Additional Comments From dir at lanl dot gov 2005-09-06 19:31 ------- I have the same problem (g77 does not complain) - [dranta:~/tests/gfortran-D] dir% g77 -c -fno-automatic save.f [dranta:~/tests/gfortran-D] dir% gfortran -c -fno-automatic save.f In file save.f:2 save lastcol 1 Error: Duplicate SAVE attribute specified at (1) [dranta:~/tests/gfortran-D] dir% cat save.f subroutine gdpstc(ifxn,xa,ya) save lastcol return end [dranta:~/tests/gfortran-D] dir% gfortran --v Using built-in specs. Target: powerpc-apple-darwin7.9.0 Configured with: ./configure --prefix=/Users/dir/gfortran --enable-languages=c,f95 Thread model: posix gcc version 4.1.0 20050906 (experimental) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23677