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  <ebotca...@adacore.com>

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


-- 
Eric Botcazou
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" } } */

Reply via email to