public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/32554]  New: [4.3 regression] Bug in P formatting
@ 2007-06-29 23:30 anlauf at gmx dot de
  2007-06-29 23:41 ` [Bug fortran/32554] " jvdelisle at gcc dot gnu dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: anlauf at gmx dot de @ 2007-06-29 23:30 UTC (permalink / raw)
  To: gcc-bugs

Hi,

the following code:

program gfcbug66
  real(8) :: x = 1.0e-100_8
  write (*,'(1X,2E12.3)')    x, 2 * x
  write (*,'(1X,1P,2E12.3)') x, 2 * x   ! Second printed number is wrong
end program gfcbug66

produces:

    0.100E-99   0.200E-99
    1.000-100   2.000E-10

but it should be

    0.100E-99   0.200E-99
    1.000-100   2.000-100

This used to work before and with 4.2.

Cheers,
-ha


-- 
           Summary: [4.3 regression] Bug in P formatting
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: anlauf at gmx dot de
  GCC host triplet: i686-pc-linux-gnu


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


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

end of thread, other threads:[~2007-07-08 17:10 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-29 23:30 [Bug fortran/32554] New: [4.3 regression] Bug in P formatting anlauf at gmx dot de
2007-06-29 23:41 ` [Bug fortran/32554] " jvdelisle at gcc dot gnu dot org
2007-06-30  0:05 ` jvdelisle at gcc dot gnu dot org
2007-06-30  0:20 ` jvdelisle at gcc dot gnu dot org
2007-06-30  0:32 ` kargl at gcc dot gnu dot org
2007-06-30  0:50 ` jvdelisle at gcc dot gnu dot org
2007-06-30  5:03 ` jvdelisle at gcc dot gnu dot org
2007-06-30  9:21 ` pinskia at gcc dot gnu dot org
2007-06-30 20:00 ` patchapp at dberlin dot org
2007-07-01 15:46 ` jvdelisle at gcc dot gnu dot org
2007-07-01 15:49 ` jvdelisle at gcc dot gnu dot org
2007-07-02  4:11 ` [Bug fortran/32554] [4.2 Only] " jvdelisle at gcc dot gnu dot org
2007-07-08  2:20 ` jvdelisle at gcc dot gnu dot org
2007-07-08  2:24 ` jvdelisle at gcc dot gnu dot org
2007-07-08 17:10 ` 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).