diff options
author | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2018-06-10 01:49:02 +0000 |
---|---|---|
committer | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2018-06-10 01:49:02 +0000 |
commit | 3a579cbe0781a62146c4ddf430ae0e40c3f75f0f (patch) | |
tree | 7f7e32f927a37d239f64fcb937993e5f2a57e1f1 /libgfortran/io | |
parent | f0a9b3ddac0aaa324e2ea4ae6194cb599dfba1ee (diff) | |
download | gcc-3a579cbe0781a62146c4ddf430ae0e40c3f75f0f.zip gcc-3a579cbe0781a62146c4ddf430ae0e40c3f75f0f.tar.gz gcc-3a579cbe0781a62146c4ddf430ae0e40c3f75f0f.tar.bz2 |
re PR libfortran/86070 (gfortran.dg/fmt_zero_digits.f90 segmentation fault starting with r261077)
2018-06-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/86070
* io/write_float.def (build_float_string): Initialize *len.
From-SVN: r261382
Diffstat (limited to 'libgfortran/io')
-rw-r--r-- | libgfortran/io/write_float.def | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libgfortran/io/write_float.def b/libgfortran/io/write_float.def index 177a568..25ea64b 100644 --- a/libgfortran/io/write_float.def +++ b/libgfortran/io/write_float.def @@ -135,6 +135,7 @@ build_float_string (st_parameter_dt *dtp, const fnode *f, char *buffer, w = f->u.real.w; d = f->u.real.d; p = dtp->u.p.scale_factor; + *len = 0; rchar = '5'; |