From patchwork Wed Jan 12 10:54:28 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Botcazou X-Patchwork-Id: 78534 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 3E246B70B3 for ; Wed, 12 Jan 2011 21:55:02 +1100 (EST) Received: (qmail 17739 invoked by alias); 12 Jan 2011 10:55:00 -0000 Received: (qmail 17730 invoked by uid 22791); 12 Jan 2011 10:54:59 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (194.98.77.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 12 Jan 2011 10:54:55 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id DCF7CCB0205 for ; Wed, 12 Jan 2011 11:54:52 +0100 (CET) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DdUEeTQnRvmC for ; Wed, 12 Jan 2011 11:54:52 +0100 (CET) Received: from [192.168.1.2] (bon31-9-83-155-120-49.fbx.proxad.net [83.155.120.49]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id BBA36CB01F0 for ; Wed, 12 Jan 2011 11:54:52 +0100 (CET) From: Eric Botcazou To: gcc-patches@gcc.gnu.org Subject: Fix PR testsuite/33033 Date: Wed, 12 Jan 2011 11:54:28 +0100 User-Agent: KMail/1.9.9 MIME-Version: 1.0 Message-Id: <201101121154.28286.ebotcazou@adacore.com> 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 is a long-standing glitch visible in the results on SPARC64/Linux when you configure --with-cpu=v8. Fixed by using the kludge from gcc.dg/sync-2.c. Tested on SPARC64/Solaris, applied on all active branches. 2011-01-12 Eric Botcazou PR testsuite/33033 * gcc.dg/20061124-1.c: Pass -mcpu=v9 on the SPARC. Index: gcc.dg/20061124-1.c =================================================================== --- gcc.dg/20061124-1.c (revision 168632) +++ gcc.dg/20061124-1.c (working copy) @@ -1,5 +1,6 @@ /* { dg-do run } */ /* { dg-require-effective-target sync_char_short } */ +/* { dg-options "-mcpu=v9" { target sparc*-*-* } } */ /* This testcase failed on s390 because no compare instruction for the check of FLAG was emitted. */