aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@kernel.crashing.org>2015-09-29 02:56:03 +0200
committerSegher Boessenkool <segher@gcc.gnu.org>2015-09-29 02:56:03 +0200
commit3179619d50ca540e2ed8bc2baa161351a17cb3ce (patch)
tree5c78912435a83b937a8f0f4761d6bdffbf431018
parentefba6099b21f70d78474792cb3216b048de5ca3c (diff)
downloadgcc-3179619d50ca540e2ed8bc2baa161351a17cb3ce.zip
gcc-3179619d50ca540e2ed8bc2baa161351a17cb3ce.tar.gz
gcc-3179619d50ca540e2ed8bc2baa161351a17cb3ce.tar.bz2
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 <segher@kernel.crashing.org> gcc/testsuite/ * gcc.dg/asm-4.c: Use braced words for the regular expressions. From-SVN: r228227
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/asm-4.c7
2 files changed, 7 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index db28ecf..e01d04c 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2015-09-28 Segher Boessenkool <segher@kernel.crashing.org>
+
+ * gcc.dg/asm-4.c: Use braced words for the regular expressions.
+
2015-09-28 Paul Thomas <pault@gcc.gnu.org>
PR fortran/40054
diff --git a/gcc/testsuite/gcc.dg/asm-4.c b/gcc/testsuite/gcc.dg/asm-4.c
index 0067598..1e6a538 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} } } */