This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fix PR testsuite/54867


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.


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]