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
  2005-06-12 20:05 ` [Bug libfortran/19155] [4.0 only] blanks not treated as zeros in 'E' format read (NIST FM110.FOR) fxcoudert at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ 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] 11+ messages in thread

end of thread, other threads:[~2011-05-29  9:03 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-19155-4@http.gcc.gnu.org/bugzilla/>
2011-05-28  8:41 ` [Bug libfortran/19155] [4.0 only] blanks not treated as zeros in 'E' format read (NIST FM110.FOR) jb at gcc dot gnu.org
2011-05-29  9:03 ` jb at gcc dot gnu.org
2011-05-29  9:35 ` jb at gcc dot gnu.org
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
2005-06-12 20:05 ` [Bug libfortran/19155] [4.0 only] blanks not treated as zeros in 'E' format read (NIST FM110.FOR) 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).