From 2a77e260cfe366b8e2af8aa706debe124abd3f07 Mon Sep 17 00:00:00 2001 From: hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Sun, 14 Jan 2007 20:07:33 +0000 Subject: [PATCH] * gcc.dg/tree-prof/stringop-1.c: Update pattern for memcpy folding. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120781 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/ChangeLog | 1 + gcc/testsuite/gcc.dg/tree-prof/stringop-1.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0186f62e281c..4e8589121062 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 eca3de169675..b57715efcb0b 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" } } */ -- GitLab