From patchwork Wed Feb 29 10:01:38 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Biener X-Patchwork-Id: 143692 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 E7BA9B6EE6 for ; Wed, 29 Feb 2012 21:01:58 +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=1331114519; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Date: From:To:Subject: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=zWuIgCWarcj9zTAviWsp Ge+nVZE=; b=gE/8P0DIza/stoZ7LyhFsbPAW4YkotrilR/aY/oAUlBVqCistVum rD5GiWLCa91TXSfCGSQMtqraAfChKEzhXBFWANiSbuSawnvjQ7It59NnzlBEQAxA kgJksbeWC1mFjkhFoZosm6kCMyziaQQFKXIp/KVHwNpBY5TJP+rBMoo= 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:Date:From:To:Subject:Message-ID:User-Agent:MIME-Version:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=Bt3yGc+w4gnJMd8Fvtwo+DOL2LTj36a+VwnCBHkJWMDK7u1Bqlz1yMyCAh0fIq HN5yYG0vT9WXTHMadwMA/kWHP38b9R13uKdYTJJgX9NQ4FQUWdhhg9Ul9SBPQiln jqvsZxPCiOeWQWzotE/xCD8UtEJ5fNCTk9yzSFlKiWcYI=; Received: (qmail 17170 invoked by alias); 29 Feb 2012 10:01:54 -0000 Received: (qmail 17150 invoked by uid 22791); 29 Feb 2012 10:01:53 -0000 X-SWARE-Spam-Status: No, hits=-5.7 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from cantor2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 29 Feb 2012 10:01:40 +0000 Received: from relay1.suse.de (unknown [195.135.220.254]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id A0F2C8FFEB for ; Wed, 29 Feb 2012 11:01:38 +0100 (CET) Date: Wed, 29 Feb 2012 11:01:38 +0100 (CET) From: Richard Guenther To: gcc-patches@gcc.gnu.org Subject: [PATCH] Fix PR52297 Message-ID: User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) 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 This fixes the LTO TM testcases by removing them. TM testcases belong in libitm testsuite (but dg-additional-sources does not work there currently for some weird reasons, so I gave up trying). Committed. Richard. 2012-02-29 Richard Guenther PR testsuite/52297 * gcc.dg/lto/trans-mem-1_0.c: Remove. * gcc.dg/lto/trans-mem-1_1.c: Likewise. * gcc.dg/lto/trans-mem-2_0.c: Likewise. * gcc.dg/lto/trans-mem-2_1.c: Likewise. * gcc.dg/lto/trans-mem-4_0.c: Likewise. * gcc.dg/lto/trans-mem-4_1.c: Likewise. Index: gcc/testsuite/gcc.dg/lto/trans-mem-2_0.c =================================================================== --- gcc/testsuite/gcc.dg/lto/trans-mem-2_0.c (revision 184655) +++ gcc/testsuite/gcc.dg/lto/trans-mem-2_0.c (working copy) @@ -1,16 +0,0 @@ -/* { dg-lto-options {{-flto -fgnu-tm}} } */ -/* { dg-lto-do link } */ -/* { dg-require-effective-target stdint_types } */ -/* { dg-require-effective-target fgnu_tm } */ - -#include "trans-mem.h" - -extern void foobar() __attribute__((transaction_callable)); - -main() -{ - __transaction_relaxed - { - foobar(); - } -} Index: gcc/testsuite/gcc.dg/lto/trans-mem-4_0.c =================================================================== --- gcc/testsuite/gcc.dg/lto/trans-mem-4_0.c (revision 184655) +++ gcc/testsuite/gcc.dg/lto/trans-mem-4_0.c (working copy) @@ -1,13 +0,0 @@ -/* { dg-lto-options {{-flto -fgnu-tm}} } */ -/* { dg-lto-do link } */ -/* { dg-require-effective-target stdint_types } */ -/* { dg-require-effective-target fgnu_tm } */ - -extern void foo() __attribute__((transaction_safe)); - -int main() -{ - __transaction_atomic { - foo(); - } -} Index: gcc/testsuite/gcc.dg/lto/trans-mem-2_1.c =================================================================== --- gcc/testsuite/gcc.dg/lto/trans-mem-2_1.c (revision 184655) +++ gcc/testsuite/gcc.dg/lto/trans-mem-2_1.c (working copy) @@ -1,4 +0,0 @@ -__attribute__((transaction_callable,noinline)) -void foobar() -{ -} Index: gcc/testsuite/gcc.dg/lto/trans-mem-4_1.c =================================================================== --- gcc/testsuite/gcc.dg/lto/trans-mem-4_1.c (revision 184655) +++ gcc/testsuite/gcc.dg/lto/trans-mem-4_1.c (working copy) @@ -1,6 +0,0 @@ -#include "trans-mem.h" - -__attribute__((transaction_safe)) -void foo() -{ -} Index: gcc/testsuite/gcc.dg/lto/trans-mem-1_0.c =================================================================== --- gcc/testsuite/gcc.dg/lto/trans-mem-1_0.c (revision 184655) +++ gcc/testsuite/gcc.dg/lto/trans-mem-1_0.c (working copy) @@ -1,14 +0,0 @@ -/* { dg-lto-options {{-flto -fgnu-tm}} } */ -/* { dg-lto-do link } */ -/* { dg-require-effective-target stdint_types } */ -/* { dg-require-effective-target fgnu_tm } */ - -int i; - -main() -{ - __transaction_atomic - { - i = 0; - } -} Index: gcc/testsuite/gcc.dg/lto/trans-mem-1_1.c =================================================================== --- gcc/testsuite/gcc.dg/lto/trans-mem-1_1.c (revision 184655) +++ gcc/testsuite/gcc.dg/lto/trans-mem-1_1.c (working copy) @@ -1 +0,0 @@ -#include "trans-mem.h"