------- Comment #1 from burnus at gcc dot gnu dot org  2008-11-27 09:37 -------
This is a regression with regards to g77.

The email itself (for completeness):
http://j3-fortran.org/pipermail/j3/2008-November/002084.html

The problem only occurs for a d (Fw.d) of "0", for, e.g., "4PF14.1" gfortran
and the other compilers print: "3742.0".

Thus, I think the problem is the special case for abs(internal number) < 0
together with Fw.d with d == 0.


>From the F2003 standard: "10.7.5 P editing"
"The kP edit descriptor temporarily changes (9.4.1) the scale factor for the
connection to k. The scale factor affects the editing of F, E, EN, ES, D, and G
edit descriptors for numeric quantities."
[...]
"(1) On [...] F output editing, the scale factor effect is that the externally
represented number equals the internally represented number multiplied by
10^k."


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |4.1.3 4.2.1 4.3.2 4.4.0
      Known to work|                            |3.4.6


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

Reply via email to