From 57d4aea2b45679f1846f81861172d78c28662726 Mon Sep 17 00:00:00 2001
From: Eric Botcazou <ebotcazou@adacore.com>
Date: Mon, 4 Nov 2019 18:30:23 +0000
Subject: [PATCH] re PR testsuite/92302 (gcc.target/sparc/sparc-ret-3.c FAILs)

	PR testsuite/92302
	* gcc.target/sparc/sparc-ret-3.c: Accept more registers in address.

From-SVN: r277787
---
 gcc/testsuite/ChangeLog                      | 5 +++++
 gcc/testsuite/gcc.target/sparc/sparc-ret-3.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 5fa63c3cb8bc..cc7aaed01587 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2019-11-04  Eric Botcazou  <ebotcazou@adacore.com>
+
+	PR testsuite/92302
+	* gcc.target/sparc/sparc-ret-3.c: Accept more registers in address.
+
 2019-11-04  Martin Sebor  <msebor@redhat.com>
 
 	PR tree-optimization/92349
diff --git a/gcc/testsuite/gcc.target/sparc/sparc-ret-3.c b/gcc/testsuite/gcc.target/sparc/sparc-ret-3.c
index 7a151f80b42b..e51143dc7a3d 100644
--- a/gcc/testsuite/gcc.target/sparc/sparc-ret-3.c
+++ b/gcc/testsuite/gcc.target/sparc/sparc-ret-3.c
@@ -50,4 +50,4 @@ unsigned int bug(unsigned int crc, const void *address, unsigned int length)
 
 	return *ctx;
 }
-/* { dg-final { scan-assembler "ld\[ \t\]*\\\[%i5\\+8\\\], %i0\n\[^\n\]*return\[ \t\]*%i7\\+8" } } */
+/* { dg-final { scan-assembler "ld\[ \t\]*\\\[%\[a-z0-9\]*\\+\[0-9\]*\\\], %i0\n\[^\n\]*return\[ \t\]*%i7\\+8" } } */
-- 
GitLab