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 test case gcc.dg/tree-ssa/ssa-ccp-11.c


Let's remove the xfail on this test, which actually passes if you
fix the expression we scan for.  We failed because for "if" we
found an iftmp variable.  Adding a space and remove the xfail, et
voila!, it works.

OK for mainline?

Gr.
Steven



Index: testsuite/gcc.dg/tree-ssa/ssa-ccp-11.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-11.c,v
retrieving revision 1.3
diff -u -3 -p -r1.3 ssa-ccp-11.c
--- testsuite/gcc.dg/tree-ssa/ssa-ccp-11.c      31 Mar 2005 18:34:16 -0000      1.3
+++ testsuite/gcc.dg/tree-ssa/ssa-ccp-11.c      29 Sep 2005 15:25:54 -0000
@@ -38,5 +38,5 @@ int test1111 (int param)
 }

 /* All ifs should be eliminated. */
-/* { dg-final { scan-tree-dump-times "if" 0 "optimized" { xfail *-*-* } } } */
+/* { dg-final { scan-tree-dump-times "if " 0 "optimized" } } */
 /* { dg-final { cleanup-tree-dump "optimized" } } */


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