I am going to check in this patch as the obvious fix for PR 55688.  I
tested it on mips-mti-elf.

Steve Ellcey
sell...@mips.com


2012-12-14  Steve Ellcey  <sell...@mips.com>

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

Reply via email to