public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/38097]  New: gfortran does not allow blanks in exponent in float (even with BN)
@ 2008-11-12 22:45 jjcogliati-r1 at yahoo dot com
  2008-11-13 15:50 ` [Bug libfortran/38097] I/O with blanks in exponent fails; blank="NULL", BN edit descriptor burnus at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: jjcogliati-r1 at yahoo dot com @ 2008-11-12 22:45 UTC (permalink / raw)
  To: gcc-bugs

The following program works in g77, but gets an 'Bad value during floating
point read' error in gfortran.  

c     blank_test.f program
      character(11)  :: a = ' 2.0030e+ 3'
      real :: f

      read (a,'(BN,E11.0)'),f
      print *,f

      end
c     end of program


I think that ' 2.0030e+ 3' should be a proper floating point value when BN
editing is enabled.  I am not sure what this should do when blank processing is
unspecified.


-- 
           Summary: gfortran does not allow blanks in exponent in float
                    (even with BN)
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jjcogliati-r1 at yahoo dot com
 GCC build triplet: x86_64-redhat-linux
  GCC host triplet: x86_64-redhat-linux
GCC target triplet: x86_64-redhat-linux


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


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

end of thread, other threads:[~2008-11-16 16:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-12 22:45 [Bug libfortran/38097] New: gfortran does not allow blanks in exponent in float (even with BN) jjcogliati-r1 at yahoo dot com
2008-11-13 15:50 ` [Bug libfortran/38097] I/O with blanks in exponent fails; blank="NULL", BN edit descriptor burnus at gcc dot gnu dot org
2008-11-14  4:34 ` jvdelisle at gcc dot gnu dot org
2008-11-16 16:15 ` jvdelisle at gcc dot gnu dot org
2008-11-16 16:21 ` jvdelisle at gcc dot gnu dot org
2008-11-16 16:24 ` jvdelisle 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).