Patchwork [testsuite,committed] Obvious fix for targets with no profiling

login
register
mail settings
Submitter Steve Ellcey
Date Dec. 14, 2012, 10:47 p.m.
Message ID <6557d4a0-6cb9-4293-acfc-a50a3f8ab173@EXCHHUB01.MIPS.com>
Download mbox | patch
Permalink /patch/206586/
State New
Headers show

Comments

Steve Ellcey - Dec. 14, 2012, 10:47 p.m.
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  <sellcey@mips.com>

	PR regression/55688
	* g++.dg/other/pr55650.C: Add dg-require-profiling.

Patch

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" }