Patchwork Fix PR testsuite/54867

login
register
mail settings
Submitter Eric Botcazou
Date Oct. 11, 2012, 10:09 a.m.
Message ID <16130265.mgeomUK5Zd@polaris>
Download mbox | patch
Permalink /patch/190853/
State New
Headers show

Comments

Eric Botcazou - Oct. 11, 2012, 10:09 a.m.
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.

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