From patchwork Thu Oct 4 16:58:34 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Botcazou X-Patchwork-Id: 189209 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 69EFE2C00BE for ; Fri, 5 Oct 2012 03:02:36 +1000 (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=1349974957; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:From:To:Subject:Date:Message-ID:User-Agent:MIME-Version: Content-Type:Content-Transfer-Encoding:Mailing-List:Precedence: List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=KYenZgi+e1wHBO3As5t5zCyqF1Y=; b=Hc/wLXJGBRoLVgj /3U/fn8PglFijE2wGDOrf7D09REarQVnZWyR6mKS1EJtNnw0dFjluvCMODQi/93/ RpP9eSNzyIO/HWySBxe4LQDvOACjigz8pr3+/RZRYQHUeaaf7jweyzBjyLdx08Bm s7uZcvYRGaOJPyWuHX1EA1vj1KF8= 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:Received:Received:From:To:Subject:Date:Message-ID:User-Agent:MIME-Version:Content-Type:Content-Transfer-Encoding:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=T7p8GGv33bBmYkC7OC+fJjcQB01YNKBvVa0Nr7el9kTFISlu+jE10WKtKyL75t q8JwZ6F1LKBBHSIYIRLf4YNtp/b1PGpIT/AVY6fqIPXvCHQlSj+7yllzXuGXzdOi oCcjEkqpnWAfGCEB89l8VoXmb1vd/zNOHredrTT0lO14c=; Received: (qmail 7633 invoked by alias); 4 Oct 2012 17:02:27 -0000 Received: (qmail 7605 invoked by uid 22791); 4 Oct 2012 17:02:20 -0000 X-SWARE-Spam-Status: No, hits=-2.1 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; Thu, 04 Oct 2012 17:02:14 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id A941D290096 for ; Thu, 4 Oct 2012 19:02:24 +0200 (CEST) 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 GPzCxm2TVQfg for ; Thu, 4 Oct 2012 19:02:24 +0200 (CEST) Received: from polaris.localnet (bon31-6-88-161-99-133.fbx.proxad.net [88.161.99.133]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id 796DA290023 for ; Thu, 4 Oct 2012 19:02:24 +0200 (CEST) From: Eric Botcazou To: gcc-patches@gcc.gnu.org Subject: Adjust gcc.dg/lto/20120723_0.c for SPARC Date: Thu, 04 Oct 2012 18:58:34 +0200 Message-ID: <22528227.jYtGh5BrGI@polaris> User-Agent: KMail/4.7.2 (Linux/3.1.10-1.16-desktop; KDE/4.7.2; x86_64; ; ) MIME-Version: 1.0 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 As noted by Martin in http://gcc.gnu.org/ml/gcc-patches/2012-08/msg00116.html, the testcase is invalid C and cannot pass on SPARC 32-bit because of the ABI. Tested on SPARC/Solaris 10, applied on the mainline. 2012-10-04 Eric Botcazou * gcc.dg/lto/20120723_0.c: Skip on SPARC 32-bit. Index: gcc.dg/lto/20120723_0.c =================================================================== --- gcc.dg/lto/20120723_0.c (revision 192073) +++ gcc.dg/lto/20120723_0.c (working copy) @@ -1,7 +1,9 @@ /* Make sure that by reference and by value aggregate jump functions do not get - mixed up. */ + mixed up. + ??? This testcase is invalid C and can only pass on specific platforms. */ /* { dg-lto-do run } */ -/* { dg-lto-options {{-O3 -fno-early-inlining -flto}} } */ +/* { dg-skip-if "" { { sparc*-*-* } && ilp32 } { "*" } { "" } } */ +/* { dg-lto-options { {-O3 -fno-early-inlining -flto}} } */ extern void abort (void);