aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2007-01-14 21:07:33 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2007-01-14 20:07:33 +0000
commitcd9ae11c1a02a8a99da7f7e3b574e66d5428a99f (patch)
tree69524f0be9f4845a2f97642a1d5791285d3dc5de /gcc
parentfb3c516f3f48f315a476709ab0e1987bdf1eb4e5 (diff)
downloadgcc-cd9ae11c1a02a8a99da7f7e3b574e66d5428a99f.zip
gcc-cd9ae11c1a02a8a99da7f7e3b574e66d5428a99f.tar.gz
gcc-cd9ae11c1a02a8a99da7f7e3b574e66d5428a99f.tar.bz2
* gcc.dg/tree-prof/stringop-1.c: Update pattern for memcpy folding.
From-SVN: r120781
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog1
-rw-r--r--gcc/testsuite/gcc.dg/tree-prof/stringop-1.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 0186f62..4e85891 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,6 @@
2007-01-14 Jan Hubicka <jh@suse.cz>
+ * gcc.dg/tree-prof/stringop-1.c: Update pattern for memcpy folding.
* gcc.dg/tree-ssa/vrp11.c: Fix thinkos in my last patch.
* gcc.dg/always_inline3.c: Update for pre-inline tail recursion
elimination.
diff --git a/gcc/testsuite/gcc.dg/tree-prof/stringop-1.c b/gcc/testsuite/gcc.dg/tree-prof/stringop-1.c
index eca3de1..b57715e 100644
--- a/gcc/testsuite/gcc.dg/tree-prof/stringop-1.c
+++ b/gcc/testsuite/gcc.dg/tree-prof/stringop-1.c
@@ -15,6 +15,7 @@ main()
}
/* { dg-final-use { scan-tree-dump "Single value 4 stringop" "tree_profile"} } */
/* Really this ought to simplify into assignment, but we are not there yet. */
-/* { dg-final-use { scan-tree-dump "memcpy.*4\\)" "optimized"} } */
+/* a[0] = b[0] is what we fold the resulting memcpy into. */
+/* { dg-final-use { scan-tree-dump "a.0. = b.0." "optimized"} } */
/* { dg-final-use { cleanup-tree-dump "optimized" } } */
/* { dg-final-use { cleanup-tree-dump "tree_profile" } } */