Commit 3f43b9e7 by Uros Bizjak Committed by Uros Bizjak

gcc-dg.exp (cleanup-saved-temps): Add .mii to suffixes.

	* 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.

From-SVN: r193563
parent 26f2269f
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.
2012-11-16 Dodji Seketeli <dodji@redhat.com> 2012-11-16 Dodji Seketeli <dodji@redhat.com>
PR c++/54875 PR c++/54875
......
/* { dg-options "-Os -fdump-rtl-hoist" } */ /* { dg-options "-Os -fdump-rtl-hoist" } */
/* { dg-final { scan-rtl-dump "PRE/HOIST: end of bb .* copying expression" "hoist" { target { nonpic } } } } */ /* { dg-final { scan-rtl-dump "PRE/HOIST: end of bb .* copying expression" "hoist" { target { nonpic } } } } */
/* { dg-final { cleanup-rtl-dump "hoist" } } */
#define BUF 100 #define BUF 100
int a[BUF]; int a[BUF];
......
/* { dg-options "-Os -fdump-rtl-hoist" } */ /* { dg-options "-Os -fdump-rtl-hoist" } */
/* { dg-final { scan-rtl-dump "PRE/HOIST: end of bb .* copying expression" "hoist" } } */ /* { dg-final { scan-rtl-dump "PRE/HOIST: end of bb .* copying expression" "hoist" } } */
/* { dg-final { cleanup-rtl-dump "hoist" } } */
#define BUF 100 #define BUF 100
int a[BUF]; int a[BUF];
......
/* { dg-options "-Os -fdump-rtl-hoist" } */ /* { dg-options "-Os -fdump-rtl-hoist" } */
/* { dg-final { scan-rtl-dump "PRE/HOIST: end of bb .* copying expression" "hoist" } } */ /* { dg-final { scan-rtl-dump "PRE/HOIST: end of bb .* copying expression" "hoist" } } */
/* { dg-final { cleanup-rtl-dump "hoist" } } */
#define BUF 100 #define BUF 100
int a[BUF]; int a[BUF];
......
...@@ -22,4 +22,4 @@ main() ...@@ -22,4 +22,4 @@ main()
/* { dg-final-use { scan-rtl-dump "Considering simply peeling loop" "loop2_unroll" } } */ /* { 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 /* 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. */ 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" } } */
...@@ -20,4 +20,4 @@ main() ...@@ -20,4 +20,4 @@ main()
return 0; return 0;
} }
/* { dg-final-use { scan-rtl-dump "Considering unrolling loop with constant number of iterations" "loop2_unroll" } } */ /* { 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" } } */
...@@ -549,7 +549,7 @@ proc cleanup-saved-temps { args } { ...@@ -549,7 +549,7 @@ proc cleanup-saved-temps { args } {
set suffixes {} set suffixes {}
# add the to-be-kept 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} { if {[lsearch $args $suffix] < 0} {
lappend suffixes $suffix lappend suffixes $suffix
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment