This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]