From patchwork Mon Jan 10 19:02:35 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rainer Orth X-Patchwork-Id: 78195 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 8DFFBB7121 for ; Tue, 11 Jan 2011 06:02:47 +1100 (EST) Received: (qmail 24364 invoked by alias); 10 Jan 2011 19:02:44 -0000 Received: (qmail 24351 invoked by uid 22791); 10 Jan 2011 19:02:43 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from snape.CeBiTec.Uni-Bielefeld.DE (HELO smtp-relay.CeBiTec.Uni-Bielefeld.DE) (129.70.160.84) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 10 Jan 2011 19:02:39 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 27FE1510 for ; Mon, 10 Jan 2011 20:02:37 +0100 (CET) Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Lpjuc9zXuzoZ for ; Mon, 10 Jan 2011 20:02:35 +0100 (CET) Received: from manam.CeBiTec.Uni-Bielefeld.DE (manam.CeBiTec.Uni-Bielefeld.DE [129.70.161.120]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPS id B9B8550F for ; Mon, 10 Jan 2011 20:02:35 +0100 (CET) Received: (from ro@localhost) by manam.CeBiTec.Uni-Bielefeld.DE (8.14.4+Sun/8.14.4/Submit) id p0AJ2ZtL021277; Mon, 10 Jan 2011 20:02:35 +0100 (MET) From: Rainer Orth To: gcc-patches@gcc.gnu.org Subject: [testsuite] Require lto for g++.dg/ipa/pr46984.C Date: Mon, 10 Jan 2011 20:02:35 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (usg-unix-v) MIME-Version: 1.0 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 The new testcase g++.dg/ipa/pr46984.C is failing on alpha-dec-osf5.1b: FAIL: g++.dg/ipa/pr46984.C (test for excess errors) WARNING: g++.dg/ipa/pr46984.C compilation failed to produce executable Excess errors: cc1plus: error: LTO support has not been enabled in this configuration Fixed by the following patch, tested with the appropriate runtest invocation, installed as obvious. Rainer 2011-01-10 Rainer Orth * g++.dg/ipa/pr46984.C: Add dg-require-effective-target lto. Index: g++.dg/ipa/pr46984.C =================================================================== --- g++.dg/ipa/pr46984.C (revision 168635) +++ g++.dg/ipa/pr46984.C (working copy) @@ -1,5 +1,6 @@ // { dg-options "-O -fipa-cp -fno-early-inlining -flto" } // { dg-do run } +// { dg-require-effective-target lto } extern "C" void abort ();