diff mbox

[committed] g++.dg/pr49718.C: Adjust scan-assembler-times for hppa*-*-hpux*

Message ID BLU0-SMTP87EB17964A4613DD132B8D97690@phx.gbl
State New
Headers show

Commit Message

John David Anglin April 6, 2014, 4:47 p.m. UTC
Fixes PR testsuite/60671.

Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11.

Committed to trunk.

Dave
--
John David Anglin	dave.anglin@bell.net
2014-04-06  John David Anglin  <danglin@gcc.gnu.org>

	PR testsuite/60671
	g++.dg/pr49718.C: Adjust scan-assembler-times for hppa*-*-hpux*.
diff mbox

Patch

Index: g++.dg/pr49718.C
===================================================================
--- g++.dg/pr49718.C	(revision 209163)
+++ g++.dg/pr49718.C	(working copy)
@@ -2,7 +2,8 @@ 
 /* { dg-options "-O2 -finstrument-functions" } */
 /* { dg-additional-options "-mno-explicit-relocs" { target alpha*-*-* } } */
 /* { dg-additional-options "-mno-relax-pic-calls" { target mips*-*-* } } */
-/* { dg-final { scan-assembler-times "__cyg_profile_func_enter" 1} } */
+/* { dg-final { scan-assembler-times "__cyg_profile_func_enter" 1 { target { ! { hppa*-*-hpux* } } } } } */
+/* { dg-final { scan-assembler-times "__cyg_profile_func_enter,%r" 1 { target hppa*-*-hpux* } } } */
 
 #define NOINSTR __attribute__((no_instrument_function))