public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/19155] New: blanks not treated as zeros in 'E' format read
@ 2004-12-25 21:46 Thomas dot Koenig at online dot de
  2004-12-26 19:45 ` [Bug libfortran/19155] " sgk at troutmask dot apl dot washington dot edu
                   ` (27 more replies)
  0 siblings, 28 replies; 29+ messages in thread
From: Thomas dot Koenig at online dot de @ 2004-12-25 21:46 UTC (permalink / raw)
  To: gcc-bugs

This is the NIST 110 failure, reduced.

$ cat blanks.f
      program blanks
      a = 42.
      open(19)
      write(19,'(A15)') 'E+00'
      rewind(19)
      read(19,'(E15.8)') a
      print *,a
      end
$ gfortran blanks.f
$ ./a.out
At line 6 of file blanks.f
Fortran runtime error: Bad value during floating point read
$ gfortran -v
Using built-in specs.
Configured with: ../gcc/configure --prefix=/home/ig25 --enable-languages=c,c++,f95
Thread model: posix
gcc version 4.0.0 20041224 (experimental)

This is a regression from g77:
$ g77 blanks.f
$ ./a.out
  0.

-- 
           Summary: blanks not treated as zeros in 'E' format read
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Thomas dot Koenig at online dot de
                CC: gcc-bugs at gcc dot gnu dot org


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


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

end of thread, other threads:[~2005-06-17 16:25 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-25 21:46 [Bug libfortran/19155] New: blanks not treated as zeros in 'E' format read Thomas dot Koenig at online dot de
2004-12-26 19:45 ` [Bug libfortran/19155] " sgk at troutmask dot apl dot washington dot edu
2005-01-06 14:43 ` tobi at gcc dot gnu dot org
2005-01-16 23:45 ` [Bug libfortran/19155] blanks not treated as zeros in 'E' format read (NIST FM110.FOR) bdavis at gcc dot gnu dot org
2005-03-02 10:31 ` coudert at clipper dot ens dot fr
2005-03-11 21:21 ` Thomas dot Koenig at online dot de
2005-03-11 22:34 ` sgk at troutmask dot apl dot washington dot edu
2005-03-31 16:38 ` fxcoudert at gcc dot gnu dot org
2005-03-31 21:43 ` kargl at gcc dot gnu dot org
2005-04-05  9:41 ` fxcoudert at gcc dot gnu dot org
2005-05-09 11:31 ` cvs-commit at gcc dot gnu dot org
2005-05-09 11:35 ` cvs-commit at gcc dot gnu dot org
2005-05-09 11:40 ` fxcoudert at gcc dot gnu dot org
2005-05-09 21:38 ` pinskia at gcc dot gnu dot org
2005-05-16 19:45 ` dje at gcc dot gnu dot org
2005-05-16 20:19 ` fxcoudert at gcc dot gnu dot org
2005-06-02  5:45 ` fxcoudert at gcc dot gnu dot org
2005-06-12  8:05 ` fxcoudert at gcc dot gnu dot org
2005-06-12  9:21 ` fxcoudert at gcc dot gnu dot org
2005-06-12 17:48 ` kargl at gcc dot gnu dot org
2005-06-12 19:59 ` cvs-commit at gcc dot gnu dot org
2005-06-12 20:05 ` [Bug libfortran/19155] [4.0 only] " fxcoudert at gcc dot gnu dot org
2005-06-16 22:39 ` cvs-commit at gcc dot gnu dot org
2005-06-16 23:04 ` fxcoudert at gcc dot gnu dot org
2005-06-17 15:16 ` dje at gcc dot gnu dot org
2005-06-17 15:40 ` fxcoudert at gcc dot gnu dot org
2005-06-17 16:21 ` cvs-commit at gcc dot gnu dot org
2005-06-17 16:24 ` cvs-commit at gcc dot gnu dot org
2005-06-17 16:25 ` fxcoudert 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).