From patchwork Fri Jun 29 13:56:18 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Adjust gcc.dg/tree-ssa/pr37508.c for PR37541 Date: Fri, 29 Jun 2012 03:56:18 -0000 From: Richard Guenther X-Patchwork-Id: 168108 Message-Id: To: gcc-patches@gcc.gnu.org Tested on x86_64-unknown-linux-gnu, applied. Richard. 2012-06-29 Richard Guenther PR tree-optimization/37541 * gcc.dg/tree-ssa/pr37508.c: Adjust and un-XFAIL. Index: gcc/testsuite/gcc.dg/tree-ssa/pr37508.c =================================================================== --- gcc/testsuite/gcc.dg/tree-ssa/pr37508.c (revision 189072) +++ gcc/testsuite/gcc.dg/tree-ssa/pr37508.c (working copy) @@ -30,7 +30,7 @@ int test3 (struct foo1 *x) { if (x->i == 0) return 1; - else if (x->i == 1) + else if (x->i == 1) /* This test is already folded to false by fold. */ return 1; return 0; } @@ -44,5 +44,5 @@ int test4 (struct foo2 *x) return 0; } -/* { dg-final { scan-tree-dump-times "Folding" 4 "vrp1" { xfail *-*-* } } } */ +/* { dg-final { scan-tree-dump-times "Folding" 3 "vrp1" } } */ /* { dg-final { cleanup-tree-dump "vrp1" } } */