From: Janis Johnson Date: Tue, 20 May 2008 23:31:40 +0000 (+0000) Subject: re PR testsuite/22523 (template/inline1.C does not test correctly on all targerts) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0d331e1a8c6d1e774d7ae68f73321343bbd3d217;p=gcc.git re PR testsuite/22523 (template/inline1.C does not test correctly on all targerts) PR testsuite/22523 * g++.dg/template/inline1.C: Handle syntax for more assemblers. From-SVN: r135691 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ab4b65a5b69..99ca3bcd10d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,8 @@ 2008-05-20 Janis Johnson + PR testsuite/22523 + * g++.dg/template/inline1.C: Handle syntax for more assemblers. + * lib/scandump.exp (scan-dump): Handle non-existent dump file. (scan-dump-times): Ditto. (scan-dump-not): Ditto. diff --git a/gcc/testsuite/g++.dg/template/inline1.C b/gcc/testsuite/g++.dg/template/inline1.C index c5e39bb2738..d6904c42f16 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 _ZN1X3FooIiEEvT_: } } +// { dg-final { scan-assembler-not "\[^ \t\]_ZN1X3FooIiEEvT_\[: \t\n\]" } } // Copyright (C) 2003 Free Software Foundation, Inc. // Contributed by Nathan Sidwell 27 Mar 2003