Commit e6972b8f by Uros Bizjak Committed by Uros Bizjak

memopt-6.c: Cleanup tmedge tree dump.

	* gcc.dg/tm/memopt-6.c: Cleanup tmedge tree dump.
	* gcc.dg/tm/memopt-13.c: Cleanup tmmark tree dump.
	* g++.dg/eh/array1.C: Cleanup gimple tree dump.

From-SVN: r181426
parent c3f34952
2011-10-16 Uros Bizjak <ubizjak@gmail.com>
* gcc.dg/tm/memopt-6.c: Cleanup tmedge tree dump.
* gcc.dg/tm/memopt-13.c: Cleanup tmmark tree dump.
* g++.dg/eh/array1.C: Cleanup gimple tree dump.
2011-11-16 Tobias Burnus <burnus@net-b.de> 2011-11-16 Tobias Burnus <burnus@net-b.de>
PR fortran/39427 PR fortran/39427
......
// Test that we have one EH cleanup region for the whole array // Test that we have one EH cleanup region for the whole array
// rather than one for each element. // rather than one for each element.
// { dg-options -fdump-tree-gimple } // { dg-options "-fdump-tree-gimple" }
// { dg-final { scan-tree-dump-times "catch" 1 "gimple" } }
struct A struct A
{ {
...@@ -13,3 +12,6 @@ void f() ...@@ -13,3 +12,6 @@ void f()
{ {
A a[10] = { }; A a[10] = { };
} }
// { dg-final { scan-tree-dump-times "catch" 1 "gimple" } }
// { dg-final { cleanup-tree-dump "gimple" } }
...@@ -13,3 +13,4 @@ void f() ...@@ -13,3 +13,4 @@ void f()
} }
/* { dg-final { scan-tree-dump-times "memmoveRtWt \\\(&large_global," 1 "tmmark" } } */ /* { dg-final { scan-tree-dump-times "memmoveRtWt \\\(&large_global," 1 "tmmark" } } */
/* { dg-final { cleanup-tree-dump "tmmark" } } */
...@@ -18,3 +18,4 @@ int f() ...@@ -18,3 +18,4 @@ int f()
} }
/* { dg-final { scan-tree-dump-times "memmoveRtWt \\\(&lala, &lacopy" 1 "tmedge" } } */ /* { dg-final { scan-tree-dump-times "memmoveRtWt \\\(&lala, &lacopy" 1 "tmedge" } } */
/* { dg-final { cleanup-tree-dump "tmedge" } } */
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