From patchwork Wed Sep 22 10:29:18 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcus Shawcroft X-Patchwork-Id: 65417 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 148A9B70AE for ; Wed, 22 Sep 2010 20:29:31 +1000 (EST) Received: (qmail 2962 invoked by alias); 22 Sep 2010 10:29:29 -0000 Received: (qmail 2954 invoked by uid 22791); 22 Sep 2010 10:29:29 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL, BAYES_00, MSGID_MULTIPLE_AT, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from cam-admin0.cambridge.arm.com (HELO cam-admin0.cambridge.arm.com) (217.140.96.50) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 22 Sep 2010 10:29:24 +0000 Received: from cam-owa2.Emea.Arm.com (cam-owa2.emea.arm.com [10.1.105.18]) by cam-admin0.cambridge.arm.com (8.12.6/8.12.6) with ESMTP id o8MAQZF9015925 for ; Wed, 22 Sep 2010 11:26:35 +0100 (BST) Received: from e102573 ([10.1.255.212]) by cam-owa2.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 22 Sep 2010 11:29:21 +0100 From: "Marcus Shawcroft" To: References: In-Reply-To: Subject: [COMMITTED] Additional.. disable inappropriate LTO testcases in the presence of --disable-lto Date: Wed, 22 Sep 2010 11:29:18 +0100 Message-ID: <000401cb5a41$03664840$0a32d8c0$@shawcroft@arm.com> MIME-Version: 1.0 x-cr-hashedpuzzle: Auta A6gu CBQR CQJu CgP4 DfYP EkAe E9Pq FVEo GX3l GcsI ICYl Ib1p JHGi JgPK KWdF; 1; ZwBjAGMALQBwAGEAdABjAGgAZQBzAEAAZwBjAGMALgBnAG4AdQAuAG8AcgBnAA==; Sosha1_v1; 7; {F007AA42-2092-4385-9631-B57218E44A8E}; bQBhAHIAYwB1AHMALgBzAGgAYQB3AGMAcgBvAGYAdABAAGEAcgBtAC4AYwBvAG0A; Wed, 22 Sep 2010 10:29:16 GMT; WwBDAE8ATQBNAEkAVABUAEUARABdACAAQQBkAGQAaQB0AGkAbwBuAGEAbAAuAC4AIABkAGkAcwBhAGIAbABlACAAaQBuAGEAcABwAHIAbwBwAHIAaQBhAHQAZQAgAEwAVABPACAAdABlAHMAdABjAGEAcwBlAHMAIABpAG4AIAB0AGgAZQAgAHAAcgBlAHMAZQBuAGMAZQAgAG8AZgAgAC0ALQBkAGkAcwBhAGIAbABlAC0AbAB0AG8A x-cr-puzzleid: {F007AA42-2092-4385-9631-B57218E44A8E} 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 Hi, My previous commit on this issue missed one test case. As before a typo in dg-require-effective-lto caused the precondition to be ignored. Committed using the obvious rule. 2010-09-22 Marcus Shawcroft * gcc.dg/pr28706.c: Typo fix to dg-require-effective-target lto. diff --git a/gcc/testsuite/gcc.dg/pr28706.c b/gcc/testsuite/gcc.dg/pr28706.c index 9d6f1eb..1ecb8b2 100644 --- a/gcc/testsuite/gcc.dg/pr28706.c +++ b/gcc/testsuite/gcc.dg/pr28706.c @@ -1,6 +1,6 @@ /* PR c/28706 */ /* { dg-do link } */ -/* { dg-require-effective-target-lto } */ +/* { dg-require-effective-target lto } */ /* { dg-options "-flto -r -nostdlib" } */ /* { dg-additional-sources "pr28706.c" } */