diff mbox

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

Message ID 6557d4a0-6cb9-4293-acfc-a50a3f8ab173@EXCHHUB01.MIPS.com
State New
Headers show

Commit Message

Steve Ellcey Dec. 14, 2012, 10:47 p.m. UTC
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.
diff mbox

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