From: Simon Cook Date: Fri, 10 Jul 2020 13:53:19 +0000 (+0100) Subject: RISC-V: Fix regular expression in target-specific test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c19f95fb1b8f15090eb1d1682e86de425fbd3c78;p=gcc.git RISC-V: Fix regular expression in target-specific test Some square brackets were missing escape characters, causing DejaGnu to try and call a proc with the name "at". gcc/testsuite/ChangeLog: * gcc.target/riscv/read-thread-pointer.c: Fix escaping on regular expression. --- diff --git a/gcc/testsuite/gcc.target/riscv/read-thread-pointer.c b/gcc/testsuite/gcc.target/riscv/read-thread-pointer.c index 760f8eafb40..401fb421129 100644 --- a/gcc/testsuite/gcc.target/riscv/read-thread-pointer.c +++ b/gcc/testsuite/gcc.target/riscv/read-thread-pointer.c @@ -4,4 +4,4 @@ void *get_tp() { return __builtin_thread_pointer (); } -/* { dg-final { scan-assembler "mv\[ \t\]*[at][0-9]+,tp" } } */ +/* { dg-final { scan-assembler "mv\[ \t\]*\[at\]\[0-9\]+,tp" } } */