diff mbox series

Fix PR testsuite/92302

Message ID 2720297.fpVaHZfBUY@polaris
State New
Headers show
Series Fix PR testsuite/92302 | expand

Commit Message

Eric Botcazou Nov. 4, 2019, 6:30 p.m. UTC
This makes the test more robust by relaxing the regexp.

Tested on SPARC/Solaris 11, applied on the mainline.


2019-11-04  Eric Botcazou  <ebotcazou@adacore.com>

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

Patch

Index: gcc.target/sparc/sparc-ret-3.c
===================================================================
--- gcc.target/sparc/sparc-ret-3.c	(revision 277436)
+++ gcc.target/sparc/sparc-ret-3.c	(working copy)
@@ -50,4 +50,4 @@  unsigned int bug(unsigned int crc, const
 
 	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" } } */