Patchwork [testsuite] : Fix arguments of dg-require-profiling

login
register
mail settings
Submitter Uros Bizjak
Date Aug. 12, 2010, 10:40 a.m.
Message ID <AANLkTi=fDn1fXdwLg5F_xz2Pe5UuQmF7eypG36bjvbY5@mail.gmail.com>
Download mbox | patch
Permalink /patch/61554/
State New
Headers show

Comments

Uros Bizjak - Aug. 12, 2010, 10:40 a.m.
Hello!

dg-require-profiling cares only for -p or -pg.

2010-08-12  Uros Bizjak  <ubizjak@gmail.com>

	* gcc.dg/profile-generate-3.c: Call dg-require-profiling with
	empty argument.
	* g++.dg/other/profile1.C: Ditto.

Uros,

Patch

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  <ubizjak@gmail.com>
+
+	* gcc.dg/profile-generate-3.c: Call dg-require-profiling with
+	empty argument.
+	* g++.dg/other/profile1.C: Ditto.
+
 2010-08-12  Jakub Jelinek  <jakub@redhat.com>
 
 	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 <string>