From 3179619d50ca540e2ed8bc2baa161351a17cb3ce Mon Sep 17 00:00:00 2001 From: Segher Boessenkool Date: Tue, 29 Sep 2015 02:56:03 +0200 Subject: [PATCH] Fix gcc.dg/asm-4.c Double-quoted words in Tcl have substitutions performed on them, including backslash substitutions. That isn't terribly nice for regular expressions, so use braced words instead. 2015-09-28 Segher Boessenkool gcc/testsuite/ * gcc.dg/asm-4.c: Use braced words for the regular expressions. From-SVN: r228227 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/asm-4.c | 7 +++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index db28ecf5c55..e01d04cac88 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2015-09-28 Segher Boessenkool + + * gcc.dg/asm-4.c: Use braced words for the regular expressions. + 2015-09-28 Paul Thomas PR fortran/40054 diff --git a/gcc/testsuite/gcc.dg/asm-4.c b/gcc/testsuite/gcc.dg/asm-4.c index 00675982aa2..1e6a538aeab 100644 --- a/gcc/testsuite/gcc.dg/asm-4.c +++ b/gcc/testsuite/gcc.dg/asm-4.c @@ -11,7 +11,6 @@ int main() asm volatile ("test3 %[in]" : [inout] "=g"(x) : "[inout]" (x), [in] "g" (y)); } -/* ??? Someone explain why the back reference dosn't work. */ -/* { dontdg-final { scan-assembler "test0 X(.*)Y\1Z" } } */ -/* { dontdg-final { scan-assembler "test1 X(.*)Y\1Z" } } */ -/* { dontdg-final { scan-assembler "test2 X(.*)Y\1Z" } } */ +/* { dg-final { scan-assembler {test0 X(.*)Y\1Z} } } */ +/* { dg-final { scan-assembler {test1 X(.*)Y\1Z} } } */ +/* { dg-final { scan-assembler {test2 X(.*)Y\1Z} } } */ -- 2.30.2