public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/24174]  New: real(10) array output broken
Date: Mon, 03 Oct 2005 09:16:00 -0000	[thread overview]
Message-ID: <bug-24174-10259@http.gcc.gnu.org/bugzilla/> (raw)

The following program, which worked before Janne Blomqvist's recent patch to
enable array I/O, now fails:

$ cat u.f90 
  real(kind=10) :: a,b(1)
  a = 0
  b(:) = 0
  print *, a
  print *, b
  end
$ gfortran u.f90 && ./a.out
   0.00000000000000      
At line 5 of file u.f90
Internal Error: bad real kind


It appears that, at line 1005 in transfer.c, the transfer routine is called
with kind=12 while it was (and probably should be) 10. Somewhere, the
distinction between kind and size has to be made.


-- 
           Summary: real(10) array output broken
           Product: gcc
           Version: 4.1.0
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: libfortran
        AssignedTo: jblomqvi at cc dot hut dot fi
        ReportedBy: fxcoudert at gcc dot gnu dot org


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


             reply	other threads:[~2005-10-03  9:16 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-03  9:16 fxcoudert at gcc dot gnu dot org [this message]
2005-10-03  9:39 ` [Bug libfortran/24174] " jblomqvi at cc dot hut dot fi
2005-10-03 10:37 ` fxcoudert at gcc dot gnu dot org
2005-10-03 19:37 ` jblomqvi at cc dot hut dot fi
2005-10-03 19:40 ` jblomqvi at cc dot hut dot fi
2005-10-07 20:12 ` tkoenig at gcc dot gnu dot org
2005-10-09 19:36 ` jblomqvi at cc dot hut dot fi
2005-10-09 20:52 ` jblomqvi at cc dot hut dot fi
2005-10-09 21:29 ` jblomqvi at cc dot hut dot fi
2005-10-11  6:11 ` jblomqvi at cc dot hut dot fi
2005-11-05 18:07 ` jblomqvi at cc dot hut dot fi
2005-11-06 18:28 ` jb at gcc dot gnu dot org
2005-11-11 20:46 ` jb at gcc dot gnu dot org
2005-11-13  6:31 ` 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=bug-24174-10259@http.gcc.gnu.org/bugzilla/ \
    --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).