Fix PR ada/107810

Message ID 3202323.aeNJFYEL58@fomalhaut
State Repeat Merge
Headers
Series Fix PR ada/107810 |

Checks

Context Check Description
snail/gcc-patch-check warning Git am fail log

Commit Message

Eric Botcazou Nov. 29, 2022, 10:47 a.m. UTC
  This just makes the pattern matching more robust.

Tested on SPARC64/Solaris and x86-64/Linux, applied on the mainline.


2022-11-29  Eric Botcazou  <ebotcazou@adacore.com>

	PR ada/107810
	* gnat.dg/unchecked_convert9.adb: Adjust pattern.
  

Patch

diff --git a/gcc/testsuite/gnat.dg/unchecked_convert9.adb b/gcc/testsuite/gnat.dg/unchecked_convert9.adb
index a01584f704d..5d12d623a9c 100644
--- a/gcc/testsuite/gnat.dg/unchecked_convert9.adb
+++ b/gcc/testsuite/gnat.dg/unchecked_convert9.adb
@@ -11,4 +11,4 @@  package body Unchecked_Convert9 is
 
 end Unchecked_Convert9;
 
--- { dg-final { scan-rtl-dump-times "set \\(mem/v" 1 "final" } }
+-- { dg-final { scan-rtl-dump-times "set \\(mem/v/c" 1 "final" } }