public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [patch, committed]  Fix error in test case
@ 2007-07-30 23:04 Thomas Koenig
  0 siblings, 0 replies; only message in thread
From: Thomas Koenig @ 2007-07-30 23:04 UTC (permalink / raw)
  To: fortran; +Cc: gcc-patches

Committed as obvious.  This is one of the easier cases of testsuite
failures with -fdefault-integer-8 :-)

2007-07-30  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/32770
        * gfortran.dg/array_constructor_12.f90:  Adjust argument
        of huge() to correct kind.

Index: gfortran.dg/array_constructor_12.f90
===================================================================
--- gfortran.dg/array_constructor_12.f90        (revision 127044)
+++ gfortran.dg/array_constructor_12.f90        (working copy)
@@ -5,7 +5,7 @@ program main
   integer (kind = 4) :: l4, step4
   integer (kind = 8), parameter :: big = 10000000000_8
 
-  l4 = huge (1)
+  l4 = huge (l4)
   u8 = l4 + 10_8
   step4 = 2
   call test ((/ (i, i = l4, u8, step4) /), l4 + 0_8, u8, step4 + 0_8)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-07-30 21:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-30 23:04 [patch, committed] Fix error in test case Thomas Koenig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).