public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "Thomas dot Koenig at online dot de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/18481] [g77 regression] ICE with assigned integer variable format Date: Sat, 04 Dec 2004 10:37:00 -0000 [thread overview] Message-ID: <20041204103713.12828.qmail@sourceware.org> (raw) In-Reply-To: <20041114203659.18481.Thomas.Koenig@online.de> ------- Additional Comments From Thomas dot Koenig at online dot de 2004-12-04 10:37 ------- This does indeed appear to be the problem with quite a few failing NIST tests. Here's a reduced testcase from NIST 111. The test case in question has the comment C***** - USE AS A FORMAT AN INTEGER VARIABLE WHOSE VALUE 10.3 02280111 C***** IS ASSIGNED USING AN ASSIGNMENT STATEMENT. 12.4(2) 02290111 so I guess this must be legal. It also works with g77. $ cat assign.f program main assign 9000 to i print i,3.14 9000 format ('real value = ', g12.5) end $ g77 assign.f && ./a.out real value = 3.1400 $ gfortran assign.f In file assign.f:2 assign 9000 to i 1 Warning: Obsolete: ASSIGN statement at (1) assign.f: In function 'MAIN__': assign.f:2: internal compiler error: in gfc_add_modify_expr, at fortran/trans.c:154 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. Same error for print instead of write. -- What |Removed |Added ---------------------------------------------------------------------------- Summary|ICE with integer variable |[g77 regression] ICE with |"format" |assigned integer variable | |format http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18481
next prev parent reply other threads:[~2004-12-04 10:37 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-11-14 20:37 [Bug fortran/18481] New: ICE with integer variable "format" Thomas dot Koenig at online dot de 2004-11-14 22:25 ` [Bug fortran/18481] " pinskia at gcc dot gnu dot org 2004-12-04 10:37 ` Thomas dot Koenig at online dot de [this message] 2005-01-06 14:43 ` [Bug fortran/18481] [g77 regression] ICE with assigned integer variable format tobi at gcc dot gnu dot org 2005-04-01 11:45 ` Thomas dot Koenig at online dot de 2005-04-25 0:31 ` pinskia at gcc dot gnu dot org 2005-05-25 11:11 ` fengwang at gcc dot gnu dot org 2005-06-06 0:43 ` pinskia at gcc dot gnu dot org 2005-07-07 9:56 ` fengwang 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=20041204103713.12828.qmail@sourceware.org \ --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).