Patchwork [testsuite] Minor housekeeping work

login
register
mail settings
Submitter Eric Botcazou
Date Oct. 8, 2012, 8:05 a.m.
Message ID <2431876.bh3lQY4GFo@polaris>
Download mbox | patch
Permalink /patch/189929/
State New
Headers show

Comments

Eric Botcazou - Oct. 8, 2012, 8:05 a.m.
Recent tests added to gcc.dg/tree-ssa don't clean up after themselves.

Tested on x86_64-suse-linux, applied on the mainline as obvious.


2012-10-08  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc.dg/tree-ssa/slsr-30.c: Use correct cleanup directive.
	* gcc.dg/tree-ssa/attr-hotcold-2.c: Likewise.
	* gcc.dg/tree-ssa/ldist-21.c: Add missing cleanup directive.

Patch

Index: gcc.dg/tree-ssa/slsr-30.c
===================================================================
--- gcc.dg/tree-ssa/slsr-30.c	(revision 192137)
+++ gcc.dg/tree-ssa/slsr-30.c	(working copy)
@@ -21,4 +21,4 @@  f (int s, long c)
 }
 
 /* { dg-final { scan-tree-dump-times " \\* " 3 "dom2" } } */
-/* { dg-final { cleanup-tree-dump "optimized" } } */
+/* { dg-final { cleanup-tree-dump "dom2" } } */
Index: gcc.dg/tree-ssa/attr-hotcold-2.c
===================================================================
--- gcc.dg/tree-ssa/attr-hotcold-2.c	(revision 192137)
+++ gcc.dg/tree-ssa/attr-hotcold-2.c	(working copy)
@@ -25,4 +25,4 @@  void f(int x, int y)
    the testcase around too much.  */
 /* { dg-final { scan-ipa-dump-times "block 5, loop depth 0, count 0, freq \[6-9\]\[0-9\]\[0-9\]\[0-9\]" 1 "profile_estimate" } } */
 
-/* { dg-final { cleanup-tree-dump "profile_estimate" } } */
+/* { dg-final { cleanup-ipa-dump "profile_estimate" } } */
Index: gcc.dg/tree-ssa/ldist-21.c
===================================================================
--- gcc.dg/tree-ssa/ldist-21.c	(revision 192137)
+++ gcc.dg/tree-ssa/ldist-21.c	(working copy)
@@ -9,3 +9,4 @@  void bar(char *p, int n)
 }
 
 /* { dg-final { scan-tree-dump "generated memmove" "ldist" } } */
+/* { dg-final { cleanup-tree-dump "ldist" } } */