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][committed] Fix testsuite/27708


This fixes the two regexps that are used to match the wanted FRE
transformation to not depend on variable names.

Committed as obvious.

Richard.

2006-05-22  Richard Guenther  <rguenther@suse.de>

	PR testsuite/27708
	* gcc.dg/tree-ssa/ssa-fre-4.c: Relax pattern for matching
	the transformations we test for.

Index: testsuite/gcc.dg/tree-ssa/ssa-fre-4.c
===================================================================
*** testsuite/gcc.dg/tree-ssa/ssa-fre-4.c	(revision 113971)
--- testsuite/gcc.dg/tree-ssa/ssa-fre-4.c	(working copy)
*************** bool bar(bool f)
*** 10,15 ****
          return wrap(f);
  }
  
! /* { dg-final { scan-tree-dump "Replaced \\\(_Bool\\\) D.*with f_" "fre" } } */
! /* { dg-final { scan-tree-dump "Replaced \\\(int\\\) f_.*with D" "fre" } } */
  /* { dg-final { cleanup-tree-dump "fre" } } */
--- 10,15 ----
          return wrap(f);
  }
  
! /* { dg-final { scan-tree-dump "Replaced \\\(_Bool\\\) .*with " "fre" } } */
! /* { dg-final { scan-tree-dump "Replaced \\\(int\\\) .*with " "fre" } } */
  /* { dg-final { cleanup-tree-dump "fre" } } */


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