This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[tuples] Cleanup .gimple files
- From: Diego Novillo <dnovillo at google dot com>
- To: gcc-patches at gcc dot gnu dot org, Aldy Hernandez <aldyh at redhat dot com>, Christopher Matthews <chrismatthews at google dot com>
- Date: Wed, 27 Jun 2007 16:13:37 -0400
- Subject: [tuples] Cleanup .gimple files
This removes .gimple files after we're done with them.
2007-06-27 Diego Novillo <dnovillo@google.com>
* gcc.dg/gimple/compound_expr.c: Cleanup .gimple files on exit.
* gcc.dg/gimple/gs_call.c: Likewise
* gcc.dg/gimple/constructors.c: Likewise
* gcc.dg/gimple/gs_return.c: Likewise
* gcc.dg/gimple/gs_assign.c: Likewise
Index: gcc.dg/gimple/compound_expr.c
===================================================================
--- gcc.dg/gimple/compound_expr.c (revision 126057)
+++ gcc.dg/gimple/compound_expr.c (working copy)
@@ -11,3 +11,4 @@ void foo()
/* { dg-final { scan-tree-dump-times "gimpleir: c.0 = c" 1 "gimple"} } */
/* { dg-final { scan-tree-dump-times "gimpleir: a = c" 1 "gimple"} } */
+/* { dg-final { cleanup-tree-dump "gimple" } } */
Index: gcc.dg/gimple/gs_call.c
===================================================================
--- gcc.dg/gimple/gs_call.c (revision 126057)
+++ gcc.dg/gimple/gs_call.c (working copy)
@@ -12,3 +12,4 @@ void foo()
/* { dg-final { scan-tree-dump-times "gimpleir: bar \\(\\)" 1 "gimple"} } */
/* { dg-final { scan-tree-dump-times "gimpleir: tool \\(\\)" 1 "gimple"} } */
+/* { dg-final { cleanup-tree-dump "gimple" } } */
Index: gcc.dg/gimple/constructors.c
===================================================================
--- gcc.dg/gimple/constructors.c (revision 126057)
+++ gcc.dg/gimple/constructors.c (working copy)
@@ -16,3 +16,4 @@ void foo()
/* { dg-final { scan-tree-dump-times "gimpleir: a.3. = 4" 1 "gimple"} } */
/* { dg-final { scan-tree-dump-times "gimpleir: a.4. = 5" 1 "gimple"} } */
/* { dg-final { scan-tree-dump-times "gimpleir: bar \\(&a\\)" 1 "gimple"} } */
+/* { dg-final { cleanup-tree-dump "gimple" } } */
Index: gcc.dg/gimple/gs_return.c
===================================================================
--- gcc.dg/gimple/gs_return.c (revision 126057)
+++ gcc.dg/gimple/gs_return.c (working copy)
@@ -10,3 +10,4 @@ int foo()
}
/* { dg-final { scan-tree-dump-times "gimpleir: return" 1 "gimple"} } */
+/* { dg-final { cleanup-tree-dump "gimple" } } */
Index: gcc.dg/gimple/call.c
===================================================================
--- gcc.dg/gimple/call.c (revision 0)
+++ gcc.dg/gimple/call.c (revision 0)
@@ -0,0 +1,10 @@
+/* { dg-do compile } */
+
+extern int foo (int);
+extern int bar (int);
+
+baz (int i)
+{
+ int a = foo (bar (i));
+ return a;
+}
Index: gcc.dg/gimple/gs_assign.c
===================================================================
--- gcc.dg/gimple/gs_assign.c (revision 126057)
+++ gcc.dg/gimple/gs_assign.c (working copy)
@@ -10,3 +10,4 @@ void foo()
}
/* { dg-final { scan-tree-dump-times "gimpleir: a.2 = b.0 \\+ c.1" 1 "gimple"} } */
+/* { dg-final { cleanup-tree-dump "gimple" } } */