public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/38305] New: Bug in gfortran with combination of P and F in a format.
@ 2008-11-28 14:53 fkrogh#gcc at mathalacarte dot com
2008-11-28 20:00 ` [Bug fortran/38305] " jvdelisle at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: fkrogh#gcc at mathalacarte dot com @ 2008-11-28 14:53 UTC (permalink / raw)
To: gcc-bugs
Compile and run
print '(f14.0,4pf14.0 )', 3742.0, 0.3742
end
Actual Results:
3742. 0000.
Expected Results:
3742. 3742.
On Gentoo this fails with versions 4.3. On Ubuntu with version 4.2. It works
for me with GNU Fortran 95 (GCC) 4.1.2 (Gentoo 4.1.2 p1.1.
>From a long time member of X3J3
I agree that the discussion of P editing in 10.6.5.1 is silent
concerning F editing on output, which might lead one to conclude that it
has no effect. But the last paragraph about F editing in 10.5.1.2.1
(167:23) says "modified by the established scale factor." So I think
the new compiler is broken.
Four of my compilers (lf95, NAG, Intel, g95 (4.0.3 0.91!)) give your old
results. gfortran (4.1.2 20071124) gives your new results, which I
think are wrong.
--
Summary: Bug in gfortran with combination of P and F in a format.
Product: gcc
Version: 4.3.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: fkrogh#gcc at mathalacarte dot com
GCC build triplet: Several
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38305
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug fortran/38305] Bug in gfortran with combination of P and F in a format.
2008-11-28 14:53 [Bug fortran/38305] New: Bug in gfortran with combination of P and F in a format fkrogh#gcc at mathalacarte dot com
@ 2008-11-28 20:00 ` jvdelisle at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2008-11-28 20:00 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from jvdelisle at gcc dot gnu dot org 2008-11-28 19:58 -------
Thanks for report. We have it on the list already and i am working on it.
*** This bug has been marked as a duplicate of 38285 ***
--
jvdelisle at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38305
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-11-28 20:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-28 14:53 [Bug fortran/38305] New: Bug in gfortran with combination of P and F in a format fkrogh#gcc at mathalacarte dot com
2008-11-28 20:00 ` [Bug fortran/38305] " 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).