public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH, testsuite]: Cleanup some leftover dump files
@ 2012-11-16 15:51 Uros Bizjak
  0 siblings, 0 replies; only message in thread
From: Uros Bizjak @ 2012-11-16 15:51 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 435 bytes --]

Hello!

2012-11-16  Uros Bizjak  <ubizjak@gmail.com>

	* lib/gcc-dg.exp (cleanup-saved-temps): Add .mii to suffixes.
	* gcc.dg/hoist-register-pressure-1.c: Cleanup hoist rtl dump.
	* gcc.dg/hoist-register-pressure-2.c: Ditto.
	* gcc.dg/hoist-register-pressure-3.c: Ditto.
	* gcc.dg/tree-prof/peel-1.c: Cleanup loop2_unroll rtl dump.
	* gcc.dg/tree-prof/unroll-1.c: Ditto.

Tested on x86_64-linux-gnu, committed to mainline SVN.

Uros.

[-- Attachment #2: t.diff.txt --]
[-- Type: text/plain, Size: 2912 bytes --]

Index: gcc.dg/hoist-register-pressure-1.c
===================================================================
--- gcc.dg/hoist-register-pressure-1.c	(revision 193549)
+++ gcc.dg/hoist-register-pressure-1.c	(working copy)
@@ -1,5 +1,6 @@
 /* { dg-options "-Os -fdump-rtl-hoist" }  */
 /* { dg-final { scan-rtl-dump "PRE/HOIST: end of bb .* copying expression" "hoist" { target { nonpic } } } } */
+/* { dg-final { cleanup-rtl-dump "hoist" } } */
 
 #define BUF 100
 int a[BUF];
Index: gcc.dg/hoist-register-pressure-2.c
===================================================================
--- gcc.dg/hoist-register-pressure-2.c	(revision 193549)
+++ gcc.dg/hoist-register-pressure-2.c	(working copy)
@@ -1,5 +1,6 @@
 /* { dg-options "-Os -fdump-rtl-hoist" }  */
 /* { dg-final { scan-rtl-dump "PRE/HOIST: end of bb .* copying expression" "hoist" } } */
+/* { dg-final { cleanup-rtl-dump "hoist" } } */
 
 #define BUF 100
 int a[BUF];
Index: gcc.dg/hoist-register-pressure-3.c
===================================================================
--- gcc.dg/hoist-register-pressure-3.c	(revision 193549)
+++ gcc.dg/hoist-register-pressure-3.c	(working copy)
@@ -1,5 +1,6 @@
 /* { dg-options "-Os -fdump-rtl-hoist" }  */
 /* { dg-final { scan-rtl-dump "PRE/HOIST: end of bb .* copying expression" "hoist" } } */
+/* { dg-final { cleanup-rtl-dump "hoist" } } */
 
 #define BUF 100
 int a[BUF];
Index: gcc.dg/tree-prof/peel-1.c
===================================================================
--- gcc.dg/tree-prof/peel-1.c	(revision 193549)
+++ gcc.dg/tree-prof/peel-1.c	(working copy)
@@ -22,4 +22,4 @@
 /* { dg-final-use { scan-rtl-dump "Considering simply peeling loop" "loop2_unroll" } } */
 /* In fact one peeling is enough; we however mispredict number of iterations of the loop
    at least until loop_ch is schedule ahead of profiling pass.  */
-/* { dg-final-use { cleanup-rtl-dump "Decided to simply peel the loop 2 times" } } */
+/* { dg-final-use { cleanup-rtl-dump "loop2_unroll" } } */
Index: gcc.dg/tree-prof/unroll-1.c
===================================================================
--- gcc.dg/tree-prof/unroll-1.c	(revision 193549)
+++ gcc.dg/tree-prof/unroll-1.c	(working copy)
@@ -20,4 +20,4 @@
   return 0;
 }
 /* { dg-final-use { scan-rtl-dump "Considering unrolling loop with constant number of iterations" "loop2_unroll" } } */
-/* { dg-final-use { cleanup-rtl-dump "Not unrolling loop, doesn't roll" } } */
+/* { dg-final-use { cleanup-rtl-dump "loop2_unroll" } } */
Index: lib/gcc-dg.exp
===================================================================
--- lib/gcc-dg.exp	(revision 193549)
+++ lib/gcc-dg.exp	(working copy)
@@ -549,7 +549,7 @@
     set suffixes {}
 
     # add the to-be-kept suffixes
-    foreach suffix {".ii" ".i" ".s" ".o" ".gkd"} {
+    foreach suffix {".mii" ".ii" ".i" ".s" ".o" ".gkd"} {
 	if {[lsearch $args $suffix] < 0} {
 	    lappend suffixes $suffix
 	}

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-11-16 15:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-16 15:51 [PATCH, testsuite]: Cleanup some leftover dump files Uros Bizjak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).