From patchwork Tue Nov 6 19:48:14 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Lance Taylor X-Patchwork-Id: 197540 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 7E7562C0094 for ; Wed, 7 Nov 2012 06:48:27 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1352836107; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:From:To:Subject:Date:Message-ID:User-Agent:MIME-Version: Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=Pfc481W DeaPfG3A4HBqP4UuORAE=; b=EdJQpu83rC3SXpeChy1XekcVpTq6LoxnQl3zNDs uEswNN3ARiAIgQQC1ZfnqSYoy+8L3jHX8e0tCsD8tGl5wjhZfOqq4o1pa92J2/jb MxesSUdXJ+Hk6U1nD9WpNbYo6wKa+eFqyTUKEaKWPR7U46aUiUG1y0durAUAPOr+ jQCw= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:X-Google-DKIM-Signature:Received:Received:From:To:Subject:Date:Message-ID:User-Agent:MIME-Version:Content-Type:X-Gm-Message-State:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=lO45WzZTOdu0Y5Roe08Rs5033rDqtZsQ3Me8WOEF3xcAcBtlYRbuYeJR1Jj56f GfSmhPCeKvO9Lwh2KxSR2lssN5ypmmu/MtY/BkC2k5v20oyKw4keAt72beRPYXXS Q8WuequjaCdB9V8xZweD/VhypYkvtEun6ycVdA/DIY6HM=; Received: (qmail 9503 invoked by alias); 6 Nov 2012 19:48:23 -0000 Received: (qmail 9484 invoked by uid 22791); 6 Nov 2012 19:48:22 -0000 X-SWARE-Spam-Status: No, hits=-4.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, KHOP_RCVD_TRUST, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_YE, RP_MATCHES_RCVD, T_TVD_MIME_NO_HEADERS X-Spam-Check-By: sourceware.org Received: from mail-da0-f47.google.com (HELO mail-da0-f47.google.com) (209.85.210.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 06 Nov 2012 19:48:17 +0000 Received: by mail-da0-f47.google.com with SMTP id s35so318993dak.20 for ; Tue, 06 Nov 2012 11:48:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version :content-type:x-gm-message-state; bh=LJciLoLUBOLYNYIIzSbGMMiU/VCKpWJhNiBFsyf7T6E=; b=HhN3L85v6ENSdVzwHNYsUe59sjY/mkMLYT0bk0gfbLsxsfg5ILgYgJU+bMytHLQA9q f53AnlqcYwpiuJOivCeB8WPM2E/rXbZXZbjUKr6EMXRKM8VhXh4kLUbuzhSR3Zy2nVpD 6kpQBmZ8zAXllNTaDnLE5vfMYKwDRD9YxDm8ZHo/mKT4LH5Po4mUdibezdsE4uG22stA MkTC4wOPq9IT2OA9BPnYPEOU3Mx1MLDpJCmAhtmJy5m6TlJtfK63loWNahUl3n9rHvFK nmV7mfPcgg17lUYL6khKDMnD/C9saHv9Cn9Kib3QRHQ/70GwhntBeu/Nlh9uz5msRHnG bR5Q== Received: by 10.68.232.2 with SMTP id tk2mr6566955pbc.92.1352231297337; Tue, 06 Nov 2012 11:48:17 -0800 (PST) Received: from coign.google.com ([2620:0:1000:1804:224:d7ff:fe8f:f634]) by mx.google.com with ESMTPS id kb3sm1372845pbc.27.2012.11.06.11.48.15 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 06 Nov 2012 11:48:16 -0800 (PST) From: Ian Lance Taylor To: gcc-patches@gcc.gnu.org, gofrontend-dev@googlegroups.com Subject: Go testsuite patch committed: Update for 64-bit int Date: Tue, 06 Nov 2012 11:48:14 -0800 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 X-Gm-Message-State: ALoCoQmaSA+qxCeRPj5Tl+F3omUVxjiNCTxK0p6BhVbv+/Dx11nc+aJOgBC5Qfg0Lcn/xdHmmWqMNZ64/ppwfIyuI/3lAFfOXlFb1tjYhaisuBncUmeHjyDe0MiPi1EUOGHvTbs9BchmIUvq8uqzQB9VMwp+hsZzn8FnzRWHr0njuLPLGeeRQQitk1Bo+hyu0ls8dLsU57wY X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org This patch updates the Go testsuite for the 64-bit int type. This is copied from the master copy of the testsuite. Ran Go testsuite on x86_64-unknown-linux-gnu. Committed to mainline. Ian Index: gcc/testsuite/go.test/test/index.go =================================================================== --- gcc/testsuite/go.test/test/index.go (revision 192508) +++ gcc/testsuite/go.test/test/index.go (working copy) @@ -21,6 +21,7 @@ import ( "flag" "fmt" "os" + "runtime" ) const prolog = ` @@ -224,6 +225,10 @@ func main() { // the next pass from running. // So run it as a separate check. thisPass = 1 + } else if a == "s" && n == "" && (i == "i64big" || i == "i64bigger") && runtime.GOARCH == "amd64" { + // On amd64, these huge numbers do fit in an int, so they are not + // rejected at compile time. + thisPass = 0 } else { thisPass = 2 }