diff mbox

Fix PR testsuite/54867

Message ID 16130265.mgeomUK5Zd@polaris
State New
Headers show

Commit Message

Eric Botcazou Oct. 11, 2012, 10:09 a.m. UTC
The new scan-rtl-dump-not I recently added needs to be tweaked so as to cater 
to x86-64 platforms like Solaris where the prologue isn't elided.

Tested on x86_64-suse-linux, applied on the mainline as obvious.


2012-10-11  Eric Botcazou  <ebotcazou@adacore.com>

	PR testsuite/54867
	* gcc.dg/pr44194-1.c: Tweak regexp to exclude prologue insns.
diff mbox

Patch

Index: gcc.dg/pr44194-1.c
===================================================================
--- gcc.dg/pr44194-1.c	(revision 192137)
+++ gcc.dg/pr44194-1.c	(working copy)
@@ -15,5 +15,5 @@  void func() {
 /* { dg-final { scan-rtl-dump "global deletions = (2|3)" "dse1" } } */
 /* { dg-final { cleanup-rtl-dump "dse1" } } */
 
-/* { dg-final { scan-rtl-dump-not "set \\(mem" "final" } } */
+/* { dg-final { scan-rtl-dump-not "insn \[^\n\]*set \\(mem" "final" } } */
 /* { dg-final { cleanup-rtl-dump "final" } } */