[Bug libfortran/33225] [4.3 regression] Missing last digit is some formatted output (on 32bit targets)

2007-09-03 Thread jvdelisle at gcc dot gnu dot org


--- Comment #12 from jvdelisle at gcc dot gnu dot org  2007-09-04 04:47 
---
Found the problem.  I will submit the update patch against this PR


-- 

jvdelisle at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|RESOLVED|UNCONFIRMED
 Resolution|FIXED   |


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



[Bug libfortran/33225] [4.3 regression] Missing last digit is some formatted output (on 32bit targets)

2007-08-30 Thread jvdelisle at gcc dot gnu dot org


--- Comment #11 from jvdelisle at gcc dot gnu dot org  2007-08-31 01:43 
---
Patch causing regression reverted.  Closing this PR.  Thanks for reporting. 
The next round on the per kind write float patch will have these test cases
addressed. 


-- 

jvdelisle at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED


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



[Bug libfortran/33225] [4.3 regression] Missing last digit is some formatted output (on 32bit targets)

2007-08-30 Thread jvdelisle at gcc dot gnu dot org


--- Comment #10 from jvdelisle at gcc dot gnu dot org  2007-08-31 01:37 
---
Subject: Bug 33225

Author: jvdelisle
Date: Fri Aug 31 01:37:31 2007
New Revision: 127950

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127950
Log:
2007-08-30  Jerry DeLisle  <[EMAIL PROTECTED]>

PR libfortran/33225
* io/write.c: Revert changes from patch of 2007-08-27.
* io/write_float.def: Remove file, reverting addition.

Removed:
trunk/libgfortran/io/write_float.def
Modified:
trunk/libgfortran/ChangeLog
trunk/libgfortran/io/write.c


-- 


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



[Bug libfortran/33225] [4.3 regression] Missing last digit is some formatted output (on 32bit targets)

2007-08-30 Thread pinskia at gcc dot gnu dot org


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.3.0


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



[Bug libfortran/33225] [4.3 regression] Missing last digit is some formatted output (on 32bit targets)

2007-08-30 Thread dominiq at lps dot ens dot fr


--- Comment #9 from dominiq at lps dot ens dot fr  2007-08-30 21:04 ---
The following code:

real x
x = 1.0
print '(3E20.2e2)', x, x/10.0, x/100.0
print '(3E20.2e3)', x, x/10.0, x/100.0
print '(3E20.2e4)', x, x/10.0, x/100.0
print '(3E20.2e5)', x, x/10.0, x/100.0
print '(3E20.2e6)', x, x/10.0, x/100.0
print '(3E20.2e7)', x, x/10.0, x/100.0
print '(3E20.3e2)', x, x/10.0, x/100.0
print '(3E20.3e3)', x, x/10.0, x/100.0
print '(3E20.3e4)', x, x/10.0, x/100.0
print '(3E20.3e5)', x, x/10.0, x/100.0
print '(3E20.3e6)', x, x/10.0, x/100.0
print '(3E20.3e7)', x, x/10.0, x/100.0
print '(3E20.4e2)', x, x/10.0, x/100.0
print '(3E20.4e3)', x, x/10.0, x/100.0
print '(3E20.4e4)', x, x/10.0, x/100.0
print '(3E20.4e5)', x, x/10.0, x/100.0
print '(3E20.4e6)', x, x/10.0, x/100.0
print '(3E20.4e7)', x, x/10.0, x/100.0
end

gives on Darwin without options:

0.10E+010.10E+000.10E-01
   0.10E+00^@   0.10E+00^@   0.10E-00^@
  [EMAIL PROTECTED]  [EMAIL PROTECTED]  [EMAIL 
PROTECTED]
[EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED]
   [EMAIL PROTECTED]   [EMAIL PROTECTED]   [EMAIL PROTECTED]
   0.100E+01   0.100E+00   0.100E-01
  0.100E+00^@  0.100E+00^@  0.100E-00^@
 [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
[EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED]
   [EMAIL PROTECTED]   [EMAIL PROTECTED]   [EMAIL PROTECTED]
  [EMAIL PROTECTED]  [EMAIL PROTECTED]  [EMAIL PROTECTED]
  0.1000E+01  0.1000E+00  0.1000E-01
 0.1000E+00^@ 0.1000E+00^@ 0.1000E-00^@
[EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED]
   [EMAIL PROTECTED]   [EMAIL PROTECTED]   [EMAIL PROTECTED]
  [EMAIL PROTECTED]  [EMAIL PROTECTED]  [EMAIL PROTECTED]
 [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]

with -m64:

0.10E+010.10E+000.10E-01
   0.10E+001   0.10E+000   0.10E-001
  0.10E+0001  0.10E+  0.10E-0001
 0.10E+1 0.10E+0 0.10E-1
0.10E+010.10E+000.10E-01
   0.10E+00^@   0.10E+00^@   0.10E-00^@
   0.100E+01   0.100E+00   0.100E-01
  0.100E+001  0.100E+000  0.100E-001
 0.100E+0001 0.100E+ 0.100E-0001
0.100E+10.100E+00.100E-1
   0.100E+01   0.100E+00   0.100E-01
  0.100E+00^@  0.100E+00^@  0.100E-00^@
  0.1000E+01  0.1000E+00  0.1000E-01
 0.1000E+001 0.1000E+000 0.1000E-001
0.1000E+00010.1000E+0.1000E-0001
   0.1000E+1   0.1000E+0   0.1000E-1
  0.1000E+01  0.1000E+00  0.1000E-01
 0.1000E+00^@ 0.1000E+00^@ 0.1000E-00^@

instead of (xlg, g95):

0.10E+010.10E+000.10E-01
   0.10E+001   0.10E+000   0.10E-001
  0.10E+0001  0.10E+  0.10E-0001
 0.10E+1 0.10E+0 0.10E-1
0.10E+010.10E+000.10E-01
   0.10E+001   0.10E+000   0.10E-001
   0.100E+01   0.100E+00   0.100E-01
  0.100E+001  0.100E+000  0.100E-001
 0.100E+0001 0.100E+ 0.100E-0001
0.100E+10.100E+00.100E-1
   0.100E+01   0.100E+00   0.100E-01
  0.100E+001  0.100E+000  0.100E-001
  0.1000E+01  0.1000E+00  0.1000E-01
 0.1000E+001 0.1000E+000 0.1000E-001
0.1000E+00010.1000E+0.1000E-0001
   0.1000E+1   0.1000E+0   0.1000E-1
  0.1000E+01  0.1000E+00  0.1000E-01
 0.1000E+001 0.1000E+000 0.1000E-001


-- 


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



[Bug libfortran/33225] [4.3 regression] Missing last digit is some formatted output (on 32bit targets)

2007-08-30 Thread burnus at gcc dot gnu dot org


--- Comment #8 from burnus at gcc dot gnu dot org  2007-08-30 15:03 ---
Can reproduce the problems with x86-64/Linux. -m64 works, but -m32 fails.


-- 

burnus at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||jvdelisle at gcc dot gnu dot
   ||org, burnus at gcc dot gnu
   ||dot org
 GCC target triplet|powerpc-apple-darwin8   |
   Keywords||wrong-code
Summary|[4.3 regression] Missing|[4.3 regression] Missing
   |last digit is some formatted|last digit is some formatted
   |output  |output (on 32bit targets)


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