public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "federico dot carminati at cern dot ch" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/23677] New: -fno-automatic does not accept legal save statements Date: Thu, 01 Sep 2005 13:08:00 -0000 [thread overview] Message-ID: <20050901130843.23677.federico.carminati@cern.ch> (raw) The following code fails [/Users/fca] more test.f subroutine test(bbb) implicit double precision (A-H,O-Z) double precision blob(100),bbb(100) data blob /100*-1/ save blob do j=1,100 blob(j)=bbb(j) enddo end [/Users/fca] /opt/gcc-4_0/bin/gfortran -c -fno-automatic test.f In file test.f:3 double precision blob(100),bbb(100) 1 Error: Duplicate SAVE attribute specified at (1) Two remarks. - Non-contraddictory declarations should not cause compilation to fail (see with double precision) - A compiler switch should not turn valid code into non-compilable code -- Summary: -fno-automatic does not accept legal save statements Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: federico dot carminati at cern dot ch CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: Darwin 8.2.0 Power Macintosh powerpc http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23677
next reply other threads:[~2005-09-01 13:08 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-09-01 13:08 federico dot carminati at cern dot ch [this message] 2005-09-01 13:09 ` [Bug fortran/23677] " federico dot carminati at cern dot ch 2005-09-06 19:31 ` dir at lanl dot gov 2005-09-06 19:33 ` dir at lanl dot gov 2005-09-09 15:10 ` tobi at gcc dot gnu dot org 2005-09-26 20:07 ` cvs-commit at gcc dot gnu dot org 2005-09-29 21:27 ` cvs-commit at gcc dot gnu dot org 2005-09-29 21:32 ` pinskia at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20050901130843.23677.federico.carminati@cern.ch \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).