summaryrefslogtreecommitdiff
path: root/libgfortran
diff options
context:
space:
mode:
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-05 23:04:07 +0000
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-05 23:04:07 +0000
commiteee5a9ff84bb1c033d1233b1bbde73aca98df5cd (patch)
treee9d35e287442cd93c334d4c6bf6ce320e8aec522 /libgfortran
parentfb90b44027e6b166e4bf10e760adaed588817843 (diff)
downloadgcc-eee5a9ff84bb1c033d1233b1bbde73aca98df5cd.tar.gz
PR libfortran/24685
* io/write.c (write_real): Widen the default format for real(10) variables output. * gfortran.dg/large_real_kind_form_io_2.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110627 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran')
-rw-r--r--libgfortran/ChangeLog6
-rw-r--r--libgfortran/io/write.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index 04d68f0b0c1..ef4db4f60be 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,9 @@
+2006-02-06 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/24685
+ * io/write.c (write_real): Widen the default format for real(10)
+ variables output.
+
2006-01-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/25835
diff --git a/libgfortran/io/write.c b/libgfortran/io/write.c
index d6323f4a695..d7ce6c56807 100644
--- a/libgfortran/io/write.c
+++ b/libgfortran/io/write.c
@@ -1373,8 +1373,8 @@ write_real (st_parameter_dt *dtp, const char *source, int length)
f.u.real.e = 3;
break;
case 10:
- f.u.real.w = 24;
- f.u.real.d = 15;
+ f.u.real.w = 28;
+ f.u.real.d = 19;
f.u.real.e = 4;
break;
case 16: