From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24985 invoked by alias); 30 Jul 2007 21:10:18 -0000 Received: (qmail 24968 invoked by uid 22791); 30 Jul 2007 21:10:17 -0000 X-Spam-Check-By: sourceware.org Received: from smtp-out01.alice-dsl.net (HELO smtp-out01.alice-dsl.net) (88.44.60.11) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 30 Jul 2007 21:10:11 +0000 Received: from out.alice-dsl.de ([192.168.125.59]) by smtp-out01.alice-dsl.net with Microsoft SMTPSVC(6.0.3790.1830); Mon, 30 Jul 2007 23:05:23 +0200 Received: from [85.179.106.90] ([85.179.106.90]) by out.alice-dsl.de with Microsoft SMTPSVC(6.0.3790.1830); Mon, 30 Jul 2007 23:05:22 +0200 Subject: [patch, committed] Fix error in test case From: Thomas Koenig To: fortran@gcc.gnu.org Cc: gcc-patches@gcc.gnu.org Content-Type: text/plain Date: Mon, 30 Jul 2007 23:04:00 -0000 Message-Id: <1185829850.20562.3.camel@meiner.onlinehome.de> Mime-Version: 1.0 X-Mailer: Evolution 2.10.2 Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2007-07/txt/msg02151.txt.bz2 Committed as obvious. This is one of the easier cases of testsuite failures with -fdefault-integer-8 :-) 2007-07-30 Thomas Koenig 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)