re PR fortran/57822 (I/O: "(g0)" wrongly prints "E+0000")
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Fri, 13 Feb 2015 02:57:03 +0000 (02:57 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Fri, 13 Feb 2015 02:57:03 +0000 (02:57 +0000)
2015-02-12  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/57822
* gfortran/fmt_g0_7.f08: Adjust for archtectures with less than
four different KINDs.

From-SVN: r220673

gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/fmt_g0_7.f08

index a408c9461617cdd58d024237732cfdad75cb03cc..6f714ea030c73ffad5e0dc03c4011946efa38ada 100644 (file)
@@ -1,3 +1,9 @@
+2015-02-12  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR libgfortran/57822
+       * gfortran/fmt_g0_7.f08: Adjust for archtectures with less than
+       four different KINDs.
+
 2015-02-12  Jakub Jelinek  <jakub@redhat.com>
 
        PR c++/64884
index 3709b758c6e4d744bf880ee60f3df494368fbbc7..d0b572e23e16119a40b7edfe765573d34c0d1854 100644 (file)
@@ -4,7 +4,7 @@
 program testit
 use ISO_FORTRAN_ENV
   implicit none
-  integer, parameter :: j(size(real_kinds))=REAL_KINDS
+  integer, parameter :: j(size(real_kinds)+4)=[REAL_KINDS, [4, 4, 4, 4]]
   character(50) :: astring
   integer :: i, l, n