From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 440 invoked by alias); 25 Jan 2012 12:40:17 -0000 Received: (qmail 428 invoked by uid 22791); 25 Jan 2012 12:40:16 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_CX,TW_GC X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 25 Jan 2012 12:40:03 +0000 From: "bardeau at iram dot fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/51991] Wrong error message with variables named "SAVE*" Date: Wed, 25 Jan 2012 12:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bardeau at iram dot fr X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-01/txt/msg02909.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51991 --- Comment #3 from Sebastien Bardeau 2012-01-25 12:39:59 UTC --- (In reply to comment #1) > I wonder why it does not work for you with GCC 4.7 2011-11-19. > > I do not recall any issue, but it might have been some intermediate glitch. > Does a newer 4.7 work? And which platform are you on? It could also be some > target-dependent bug. Same problem with the nightly version under x86_64-unknown-linux-gnu: pctcp27 Scripts/Fortran> gfortran -v Using built-in specs. COLLECT_GCC=gfortran COLLECT_LTO_WRAPPER=/home/bardeau/Softs/gcc-4.7.0-20120125/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.7.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../gcc-trunk-source/gcc/configure --enable-languages=c,c++,fortran --enable-checking=release --disable-bootstrap --disable-libmudflap --enable-libgomp --enable-lto --enable-gold --with-plugin-ld=/usr/bin/gold --prefix=/usr/local/gcc-trunk Thread model: posix gcc version 4.7.0 20120125 (experimental) [trunk revision 183507] (GCC) And also with an old gfortran I have on my system: pctcp27 Scripts/Fortran> gfortran44 -v Using built-in specs. Target: x86_64-redhat-linux6E Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,fortran --disable-libgcj --with-mpfr=/builddir/build/BUILD/gcc-4.4.0-20090514/obj-x86_64-redhat-linux6E/mpfr-install/ --with-ppl=/builddir/build/BUILD/gcc-4.4.0-20090514/obj-x86_64-redhat-linux6E/ppl-install --with-cloog=/builddir/build/BUILD/gcc-4.4.0-20090514/obj-x86_64-redhat-linux6E/cloog-install --with-tune=generic --with-arch_32=i586 --build=x86_64-redhat-linux6E Thread model: posix gcc version 4.4.0 20090514 (Red Hat 4.4.0-6) (GCC) (In reply to comment #2) > It looks like the test should be > > and for the variant above I confirm that the error is Well, ok, the 2 tests are just different and should raise different errors.