Patchwork [mem-ref2] Fixup testcase

login
register
mail settings
Submitter Richard Guenther
Date June 21, 2010, 3:13 p.m.
Message ID <alpine.LNX.2.00.1006211712320.1429@zhemvz.fhfr.qr>
Download mbox | patch
Permalink /patch/56324/
State New
Headers show

Comments

Richard Guenther - June 21, 2010, 3:13 p.m.
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.

Patch

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" } } */