From patchwork Thu Aug 12 10:40:44 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 61554 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 EE8F7B6EF2 for ; Thu, 12 Aug 2010 20:40:58 +1000 (EST) Received: (qmail 6656 invoked by alias); 12 Aug 2010 10:40:56 -0000 Received: (qmail 6644 invoked by uid 22791); 12 Aug 2010 10:40:55 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, TW_ZJ, T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-qw0-f47.google.com (HELO mail-qw0-f47.google.com) (209.85.216.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 12 Aug 2010 10:40:50 +0000 Received: by qwi2 with SMTP id 2so756646qwi.20 for ; Thu, 12 Aug 2010 03:40:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.45.134 with SMTP id e6mr10096181qaf.300.1281609645000; Thu, 12 Aug 2010 03:40:45 -0700 (PDT) Received: by 10.229.182.18 with HTTP; Thu, 12 Aug 2010 03:40:44 -0700 (PDT) Date: Thu, 12 Aug 2010 12:40:44 +0200 Message-ID: Subject: [PATCH, testsuite]: Fix arguments of dg-require-profiling From: Uros Bizjak To: gcc-patches@gcc.gnu.org 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 Hello! dg-require-profiling cares only for -p or -pg. 2010-08-12 Uros Bizjak * gcc.dg/profile-generate-3.c: Call dg-require-profiling with empty argument. * g++.dg/other/profile1.C: Ditto. Uros, Index: gcc.dg/profile-generate-3.c =================================================================== --- gcc.dg/profile-generate-3.c (revision 163187) +++ gcc.dg/profile-generate-3.c (working copy) @@ -1,5 +1,5 @@ /* { dg-do link } */ -/* { dg-require-profiling "-fprofile-generate=." } */ +/* { dg-require-profiling "" } */ /* { dg-options "-fprofile-generate=." } */ int Index: ChangeLog =================================================================== --- ChangeLog (revision 163187) +++ ChangeLog (working copy) @@ -1,3 +1,9 @@ +2010-08-12 Uros Bizjak + + * gcc.dg/profile-generate-3.c: Call dg-require-profiling with + empty argument. + * g++.dg/other/profile1.C: Ditto. + 2010-08-12 Jakub Jelinek PR debug/45259 Index: g++.dg/other/profile1.C =================================================================== --- g++.dg/other/profile1.C (revision 163187) +++ g++.dg/other/profile1.C (working copy) @@ -1,6 +1,6 @@ // PR 11767 // { dg-do run } -// { dg-require-profiling "-fprofile-arcs" } +// { dg-require-profiling "" } // { dg-options "-fnon-call-exceptions -fprofile-arcs" } #include