This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH][committed] Fix testsuite/27708
- From: Richard Guenther <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 22 May 2006 11:28:27 +0200 (CEST)
- Subject: [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" } } */