Fixes PR testsuite/60671. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11.
Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net
2014-04-06 John David Anglin <dang...@gcc.gnu.org> PR testsuite/60671 g++.dg/pr49718.C: Adjust scan-assembler-times for hppa*-*-hpux*. 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))