From patchwork Tue Oct 5 15:25:16 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hariharan Sandanagobalane X-Patchwork-Id: 66837 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 2104DB70D6 for ; Wed, 6 Oct 2010 02:25:31 +1100 (EST) Received: (qmail 13239 invoked by alias); 5 Oct 2010 15:25:30 -0000 Received: (qmail 13226 invoked by uid 22791); 5 Oct 2010 15:25:30 -0000 X-SWARE-Spam-Status: No, hits=-0.1 required=5.0 tests=AWL, BAYES_20, TW_FG, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail2.picochip.com (HELO thurne.picochip.com) (82.111.145.34) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 05 Oct 2010 15:25:23 +0000 Received: from haddeo.picochip.com (haddeo.picochip.com [172.17.3.47]) (authenticated bits=0) by thurne.picochip.com (8.13.8/8.13.8) with ESMTP id o95FPFq4011153; Tue, 5 Oct 2010 16:25:15 +0100 Message-ID: <4CAB435C.8020700@picochip.com> Date: Tue, 05 Oct 2010 16:25:16 +0100 From: Hariharan Sandanagobalane User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100720 Fedora/3.1.1-1.fc13 Lightning/1.0b2pre Thunderbird/3.1.1 MIME-Version: 1.0 To: gcc-patches@gcc.gnu.org CC: eager@eagerm.com Subject: [PATCH, testsuite] cmpsi-2 test was broken 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 Hello all, Is it alright to commit the following patch to fix the broken cmpsi-2 test? Cheers Hari ChangeLog: gcc.c-torture/execute/cmpsi-2.c : Unsigned comparisons should use unsigned values. Patch: Index: gcc/testsuite/gcc.c-torture/execute/cmpsi-2.c =================================================================== --- gcc/testsuite/gcc.c-torture/execute/cmpsi-2.c (revision 164991) +++ gcc/testsuite/gcc.c-torture/execute/cmpsi-2.c (working copy) @@ -49,7 +49,7 @@ return F; } -fltu (long x, long y) +fltu (unsigned long x, unsigned long y) { if (x < y) return T; @@ -57,7 +57,7 @@ return F; } -fgeu (long x, long y) +fgeu (unsigned long x, unsigned long y) { if (x >= y) return T; @@ -65,7 +65,7 @@ return F; } -fgtu (long x, long y) +fgtu (unsigned long x, unsigned long y) { if (x > y) return T; @@ -73,7 +73,7 @@ return F; } -fleu (long x, long y) +fleu (unsigned long x, unsigned long y) { if (x <= y) return T;