[COMMITED] bpf: testsuite: fix expected regexp in gcc.target/bpf/ldxdw.c

Message ID 20231109234945.4108-1-jose.marchesi@oracle.com
State Accepted
Headers
Series [COMMITED] bpf: testsuite: fix expected regexp in gcc.target/bpf/ldxdw.c |

Checks

Context Check Description
snail/gcc-patch-check success Github commit url

Commit Message

Jose E. Marchesi Nov. 9, 2023, 11:49 p.m. UTC
  gcc/testsuite/ChangeLog:

	* gcc.target/bpf/ldxdw.c: Fix regexp with expected result.
---
 gcc/testsuite/gcc.target/bpf/ldxdw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/gcc/testsuite/gcc.target/bpf/ldxdw.c b/gcc/testsuite/gcc.target/bpf/ldxdw.c
index 0985ea3e6ac..72db8f03324 100644
--- a/gcc/testsuite/gcc.target/bpf/ldxdw.c
+++ b/gcc/testsuite/gcc.target/bpf/ldxdw.c
@@ -4,7 +4,7 @@ 
 /* { dg-do compile } */
 /* { dg-options "-O2" } */
 
-/* { dg-final { scan-assembler-times "ldxdw\t%r.,\\\[%r.+0\\\]" 1 } } */
+/* { dg-final { scan-assembler-times "ldxdw\t%r.,\\\[%r.\\+\[0-9\]+\\\]" 1 } } */
 /* { dg-final { scan-assembler-not "ldxdw\t%r.,\[0-9\]+" } } */
 
 unsigned long long test () {