Patchwork [Committed] fix testcase cleanup of octeon2-pipe-1.c and octeon-pipe-1.c

login
register
mail settings
Submitter Andrew Pinski
Date July 14, 2012, 1:14 a.m.
Message ID <CA+=Sn1n+Mu7DwbTeB20rCMadQv7yzmcDt6-J7xpbc9pRpa=-cw@mail.gmail.com>
Download mbox | patch
Permalink /patch/170986/
State New
Headers show

Comments

Andrew Pinski - July 14, 2012, 1:14 a.m.
Hi,
  The two testcases octeon2-pipe-1.c and octeon-pipe-1.c cleanup their
dump files using cleanup-tree-dump but the dump files where are
supposed to be cleaned up are rtl ones.  This patch which I committed
as obvious fix that.

Committed after testing on mips64-linux-gnu with no regressions.

Thanks,
Andrew Pinski

2012-07-13  Andrew Pinski  <apinski@cavium.com>

	* gcc.target/mips/octeon2-pipe-1.c: Use cleanup-rtl-dump
	rather than cleanup-tree-dump.
	* gcc.target/mips/octeon-pipe-1.c: Likewise.

Patch

Index: gcc.target/mips/octeon2-pipe-1.c
===================================================================
--- gcc.target/mips/octeon2-pipe-1.c	(revision 189401)
+++ gcc.target/mips/octeon2-pipe-1.c	(working copy)
@@ -8,4 +8,4 @@  NOMIPS16 int f (int a, int b)
 }
 
 /* { dg-final { scan-rtl-dump "octeon_mult\\*17" "sched2" } }  */
-/* { dg-final { cleanup-tree-dump "sched2" } }  */
+/* { dg-final { cleanup-rtl-dump "sched2" } }  */
Index: gcc.target/mips/octeon-pipe-1.c
===================================================================
--- gcc.target/mips/octeon-pipe-1.c	(revision 189401)
+++ gcc.target/mips/octeon-pipe-1.c	(working copy)
@@ -8,4 +8,4 @@  NOMIPS16 int f (int a, int b)
 }
 
 /* { dg-final { scan-rtl-dump "octeon_mult\\*71" "sched2" } }  */
-/* { dg-final { cleanup-tree-dump "sched2" } }  */
+/* { dg-final { cleanup-rtl-dump "sched2" } }  */
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 189476)
+++ ChangeLog	(working copy)
@@ -1,3 +1,9 @@ 
+2012-07-13  Andrew Pinski  <apinski@cavium.com>
+
+	* gcc.target/mips/octeon2-pipe-1.c: Use cleanup-rtl-dump
+	rather than cleanup-tree-dump.
+	* gcc.target/mips/octeon-pipe-1.c: Likewise.
+
 2012-07-13  Richard Guenther  <rguenther@suse.de>
 
 	PR tree-optimization/53907