From 3c6b370110ad8177935c89a63464805548a0c98a Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Sun, 6 Apr 2014 16:44:21 +0000 Subject: [PATCH] re PR testsuite/60671 (FAIL: g++.dg/pr49718.C -std=gnu++98 scan-assembler-times __cyg_profile_func_enter 1) PR testsuite/60671 g++.dg/pr49718.C: Adjust scan-assembler-times for hppa*-*-hpux*. From-SVN: r209166 --- gcc/testsuite/ChangeLog | 3 +++ gcc/testsuite/g++.dg/pr49718.C | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e5c0631c896..08f02640e73 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,8 @@ 2014-04-06 John David Anglin + PR testsuite/60671 + g++.dg/pr49718.C: Adjust scan-assembler-times for hppa*-*-hpux*. + PR testsuite/60672 * g++.dg/cpp1y/auto-fn25.C: Require lto. diff --git a/gcc/testsuite/g++.dg/pr49718.C b/gcc/testsuite/g++.dg/pr49718.C index d7f2710a994..b1cc5deb7ac 100644 --- a/gcc/testsuite/g++.dg/pr49718.C +++ b/gcc/testsuite/g++.dg/pr49718.C @@ -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)) -- 2.30.2