public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/24174]  New: real(10) array output broken
@ 2005-10-03  9:16 fxcoudert at gcc dot gnu dot org
  2005-10-03  9:39 ` [Bug libfortran/24174] " jblomqvi at cc dot hut dot fi
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-10-03  9:16 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2005-11-13  6:31 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-03  9:16 [Bug libfortran/24174] New: real(10) array output broken fxcoudert at gcc dot gnu dot org
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

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).