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: Fri, 01 Apr 2005 11:45:00 -0000	[thread overview]
Message-ID: <20050401114536.21521.qmail@sourceware.org> (raw)
In-Reply-To: <20041114203659.18481.Thomas.Koenig@online.de>


------- Additional Comments From Thomas dot Koenig at online dot de  2005-04-01 11:45 -------
No write or print statement is necessary:

$ cat assign.f90
      program main
      assign 1000 to i
 1000 format (A)
      end
$ gfortran assign.f90
$ gfortran -fdump-parse-tree assign.f90
 In file assign.f90:2

      assign 1000 to i
                     1
Warning: Obsolete: ASSIGN statement at (1)

        Namespace: A-H: (REAL 4) I-N: (INTEGER 4) O-Z: (REAL 4)
        symtree: i  Ambig 0
        symbol i (INTEGER 4)(VARIABLE UNKNOWN-INTENT UNKNOWN-ACCESS UNKNOWN-PROC
IMPLICIT-TYPE)

        symtree: main  Ambig 0
        symbol main (UNKNOWN 0)(PROGRAM UNKNOWN-INTENT UNKNOWN-ACCESS UNKNOWN-PROC)


      LABEL ASSIGN i 1000

assign.f90: In function 'MAIN__':
assign.f90:2: internal compiler error: in gfc_add_modify_expr, at
fortran/trans.c:152
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
$
$ gfortran -v
Using built-in specs.
Target: ia64-unknown-linux-gnu
Configured with: ../gcc-4.1-20050327/configure --prefix=/home/zfkts
--enable-languages=c,f95
Thread model: posix
gcc version 4.1.0 20050327 (experimental)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18481


  parent reply	other threads:[~2005-04-01 11:45 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 ` [Bug fortran/18481] [g77 regression] ICE with assigned integer variable format Thomas dot Koenig at online dot de
2005-01-06 14:43 ` tobi at gcc dot gnu dot org
2005-04-01 11:45 ` Thomas dot Koenig at online dot de [this message]
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=20050401114536.21521.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: link
Be 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).