public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Thomas Koenig <tkoenig@alice-dsl.net>
To: fortran@gcc.gnu.org
Cc: gcc-patches@gcc.gnu.org
Subject: [patch, committed]  Fix error in test case
Date: Mon, 30 Jul 2007 23:04:00 -0000	[thread overview]
Message-ID: <1185829850.20562.3.camel@meiner.onlinehome.de> (raw)

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)


                 reply	other threads:[~2007-07-30 21:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1185829850.20562.3.camel@meiner.onlinehome.de \
    --to=tkoenig@alice-dsl.net \
    --cc=fortran@gcc.gnu.org \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).