From patchwork Thu Aug 12 10:40:44 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [testsuite] : Fix arguments of dg-require-profiling Date: Thu, 12 Aug 2010 00:40:44 -0000 From: Uros Bizjak X-Patchwork-Id: 61554 Message-Id: To: 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