public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/38735]  New: Default BLANK= mode for internal units is wrong
@ 2009-01-05 21:33 jvdelisle at gcc dot gnu dot org
  2009-01-05 21:43 ` [Bug libfortran/38735] [4.4 Regresssion] " jvdelisle at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2009-01-05 21:33 UTC (permalink / raw)
  To: gcc-bugs

With Dominique's test case:

character(15) :: str="+ .339  567+2"
real :: x
read(str,'(F15.6)') x
print *, x
read(str,'(G15.7)') x
print *, x
end

Current trunk yields:

$ ./a.out 
   33.956699    
  0.33899999    

It should be:

$ ./a.out 
   33.95670    
   33.95670


-- 
           Summary: Default BLANK= mode for internal units is wrong
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libfortran
        AssignedTo: jvdelisle at gcc dot gnu dot org
        ReportedBy: jvdelisle at gcc dot gnu dot org


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


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

end of thread, other threads:[~2009-01-06  0:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-05 21:33 [Bug libfortran/38735] New: Default BLANK= mode for internal units is wrong jvdelisle at gcc dot gnu dot org
2009-01-05 21:43 ` [Bug libfortran/38735] [4.4 Regresssion] " jvdelisle at gcc dot gnu dot org
2009-01-05 22:56 ` jvdelisle at gcc dot gnu dot org
2009-01-05 22:57 ` jvdelisle at gcc dot gnu dot org
2009-01-05 23:36 ` jakub at gcc dot gnu dot org
2009-01-06  0:31 ` 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).