This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH][mem-ref2] Fixup testcase
- From: Richard Guenther <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 21 Jun 2010 17:13:04 +0200 (CEST)
- Subject: [PATCH][mem-ref2] Fixup testcase
We shouldn't expect to re-create a component reference anymore.
Committed.
Richard.
2010-06-21 Richard Guenther <rguenther@suse.de>
testsuite/
* gcc.dg/tree-ssa/ssa-ccp-23.c: Adjust.
Index: gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-23.c
===================================================================
--- gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-23.c (revision 161081)
+++ gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-23.c (working copy)
@@ -15,5 +15,5 @@ int foo (void)
return *x;
}
-/* { dg-final { scan-tree-dump "a.i\\\[1\\\]" "ccp1" } } */
+/* { dg-final { scan-tree-dump "MEM\\\[\\\(int \\\*\\\)&a \\\+ 4B\\\]" "ccp1" } } */
/* { dg-final { cleanup-tree-dump "ccp1" } } */