From 9a2915b282d0e46f69efc0b0f6c13da1f2de5a49 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Sat, 24 May 2008 00:37:01 +0000 Subject: [PATCH] re PR testsuite/22523 (template/inline1.C does not test correctly on all targerts) PR testsuite/22523 * g++.dg/template/inline1.C: For the not-defined symbol, use the pattern from g++.dg/template/qualttp17.C. From-SVN: r135840 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/g++.dg/template/inline1.C | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a5ece90857f..b7909d3699e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2008-05-24 Hans-Peter Nilsson + + PR testsuite/22523 + * g++.dg/template/inline1.C: For the not-defined symbol, use the + pattern from g++.dg/template/qualttp17.C. + 2008-05-23 Rafael Espindola * gcc/testsuite/gcc.c-torture/compile/20080522-1.c: Move to gcc.dg. diff --git a/gcc/testsuite/g++.dg/template/inline1.C b/gcc/testsuite/g++.dg/template/inline1.C index d6904c42f16..c7ae1f5cae9 100644 --- a/gcc/testsuite/g++.dg/template/inline1.C +++ b/gcc/testsuite/g++.dg/template/inline1.C @@ -1,6 +1,6 @@ // { dg-do compile } // { dg-options "-fno-default-inline -O0" } -// { dg-final { scan-assembler-not "\[^ \t\]_ZN1X3FooIiEEvT_\[: \t\n\]" } } +// { dg-final { scan-assembler-not "\n_?_ZN1X3FooIiEEvT_\[: \t\n\]" } } // Copyright (C) 2003 Free Software Foundation, Inc. // Contributed by Nathan Sidwell 27 Mar 2003 -- 2.30.2