From patchwork Fri Dec 14 22:47:28 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Ellcey X-Patchwork-Id: 206586 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 3A3D22C0090 for ; Sat, 15 Dec 2012 09:49:08 +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=1356130149; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Received:From:Date:To:Subject:User-Agent:MIME-Version: Content-Type:Content-Transfer-Encoding:Message-ID:Mailing-List: Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:Sender:Delivered-To; bh=zzUadfYBjhpYmPW/szJhSMQDiQM=; b=FhXRoUYM1PTXG/HadW4dS106s8VfrLbv2DRjzA1uOQGf8xfZbgRjK/+sGuS30Z ugTjyQlhIo15j9I9kxQ1ttaHNLpeq0qGPfUyzWS/2Idu56IW+zanWLVYqyh1ATML k/jEedC0KL5COqGltqrFKcsdlryUMkoV3BK+N89m7G7RY= 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:X-M-MSG:Received:Received:Received:From:Date:To:Subject:User-Agent:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID:X-EMS-Proccessed:X-EMS-STAMP:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=yFjlTlbjWh70LUFik9XDjBWeS03Im8ppAWDKAlHkVgdlA3LsAdrHRSvHNG8CL3 W2JicMVeEGBUZYon/Sd6oKv5EKunybKmc5DqetecsvURyrw85sKIuRZQE8NAHoZT vYZcWEMlFEp5821XKYyJ5N1N8C6+4aHOOsYAYzGG6btdY=; Received: (qmail 19574 invoked by alias); 14 Dec 2012 22:48:56 -0000 Received: (qmail 19561 invoked by uid 22791); 14 Dec 2012 22:48:53 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from dns1.mips.com (HELO dns1.mips.com) (12.201.5.69) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 14 Dec 2012 22:48:15 +0000 Received: from mailgate1.mips.com (mailgate1.mips.com [12.201.5.111]) by dns1.mips.com (8.13.8/8.13.8) with ESMTP id qBEMmCWx001762 for ; Fri, 14 Dec 2012 14:48:13 -0800 X-M-MSG: Received: from exchdb01.mips.com (unknown [192.168.36.84]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mailgate1.mips.com (Postfix) with ESMTP id 2702D36464F for ; Fri, 14 Dec 2012 14:47:32 -0800 (PST) Received: from ubuntu-sellcey.mips.com (192.168.65.53) by exchhub01.mips.com (192.168.36.84) with Microsoft SMTP Server id 14.1.270.1; Fri, 14 Dec 2012 14:47:28 -0800 Received: by ubuntu-sellcey.mips.com (sSMTP sendmail emulation); Fri, 14 Dec 2012 14:47:28 -0800 From: "Steve Ellcey " Date: Fri, 14 Dec 2012 14:47:28 -0800 To: Subject: [patch, testsuite, committed] Obvious fix for targets with no profiling User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Message-ID: <6557d4a0-6cb9-4293-acfc-a50a3f8ab173@EXCHHUB01.MIPS.com> X-EMS-Proccessed: 6LP3oGfGVdcdb8o1aBnt6w== X-EMS-STAMP: z5RyVwqDg5/NcWvRVhpa2A== 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 I am going to check in this patch as the obvious fix for PR 55688. I tested it on mips-mti-elf. Steve Ellcey sellcey@mips.com 2012-12-14 Steve Ellcey PR regression/55688 * g++.dg/other/pr55650.C: Add dg-require-profiling. diff --git a/gcc/testsuite/g++.dg/other/pr55650.C b/gcc/testsuite/g++.dg/other/pr55650.C index fc52b19..c565b06 100644 --- a/gcc/testsuite/g++.dg/other/pr55650.C +++ b/gcc/testsuite/g++.dg/other/pr55650.C @@ -1,5 +1,6 @@ // PR gcov-profile/55650 // { dg-do link } +// { dg-require-profiling "-fprofile-generate" } // { dg-options "-O2 -fprofile-generate" } // { dg-additional-sources "pr55650.cc" }