diff options
author | Dominique d'Humieres <dominiq@gcc.gnu.org> | 2019-02-25 11:39:38 +0100 |
---|---|---|
committer | Dominique d'Humieres <dominiq@gcc.gnu.org> | 2019-02-25 11:39:38 +0100 |
commit | b8f412849b4fbc170fcc9cf1053d44cfc4165d48 (patch) | |
tree | 7a14a1e55cc678a1246745695bee936a3f34cc4c /libgfortran | |
parent | 5c561248378ab07fb2abd6766b16572d8b903545 (diff) | |
download | gcc-b8f412849b4fbc170fcc9cf1053d44cfc4165d48.zip gcc-b8f412849b4fbc170fcc9cf1053d44cfc4165d48.tar.gz gcc-b8f412849b4fbc170fcc9cf1053d44cfc4165d48.tar.bz2 |
re PR libfortran/89274 (Inconsistent list directed output of INTEGER(16))
2019-02-25 Dominique d'Humieres <dominiq@gcc.gnu.org>
PR libfortran/89274
* gfortran.dg/list_directed_large.f90: New test.
2019-02-25 Dominique d'Humieres <dominiq@gcc.gnu.org>
PR libfortran/89274
* io/write.c (write_integer): Add width for INTEGER(16).
From-SVN: r269187
Diffstat (limited to 'libgfortran')
-rw-r--r-- | libgfortran/ChangeLog | 5 | ||||
-rw-r--r-- | libgfortran/io/write.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index d0a3962..0941b58 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,8 @@ +2019-02-25 Dominique d'Humieres <dominiq@gcc.gnu.org> + + PR libfortran/89274 + * io/write.c (write_integer): Add width for INTEGER(16). + 2019-02-23 Paul Thomas <pault@gcc.gnu.org> PR fortran/89385 diff --git a/libgfortran/io/write.c b/libgfortran/io/write.c index 449b35f..c8811e2 100644 --- a/libgfortran/io/write.c +++ b/libgfortran/io/write.c @@ -1342,6 +1342,10 @@ write_integer (st_parameter_dt *dtp, const char *source, int kind) width = 20; break; + case 16: + width = 40; + break; + default: width = 0; break; |