This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Fix PR39696
- From: Richard Guenther <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 9 Apr 2009 15:35:26 +0200 (CEST)
- Subject: [PATCH] Fix PR39696
This fixes the pattern mismatch on 32bit.
Tested on x86_64-unknown-linux-gnu with {,-m32}, applied to trunk.
Richard.
2009-04-09 Richard Guenther <rguenther@suse.de>
PR testsuite/39696
* ssa-ccp-25.c: Adjust pattern.
Index: gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-25.c
===================================================================
*** gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-25.c (revision 145837)
--- gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-25.c (working copy)
*************** int foo(int i)
*** 8,14 ****
return *(p + i);
}
! /* { dg-final { scan-tree-dump "&a\\\[D\\\." "ccp1" } } */
! /* { dg-final { scan-tree-dump "= a\\\[D\\\." "forwprop1" } } */
/* { dg-final { cleanup-tree-dump "ccp1" } } */
/* { dg-final { cleanup-tree-dump "forwprop1" } } */
--- 8,14 ----
return *(p + i);
}
! /* { dg-final { scan-tree-dump "&a\\\[\[iD\]\\\." "ccp1" } } */
! /* { dg-final { scan-tree-dump "= a\\\[\[iD\]\\\." "forwprop1" } } */
/* { dg-final { cleanup-tree-dump "ccp1" } } */
/* { dg-final { cleanup-tree-dump "forwprop1" } } */