summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2022-08-02 20:56:49 +0200
committerAldy Hernandez <aldyh@redhat.com>2022-08-02 20:59:22 +0200
commit502605a277d36cee1b0570982a16d97a43eace67 (patch)
treecf271625a07050aaef672668da9830e9f5c3df89
parent87dd4c8c83768aafad92588853fd84a6070553d6 (diff)
Adjust testsuite/gcc.dg/tree-ssa/vrp-float-1.c
I missed the -details dump flag, plus I wasn't checking the actual folding. As a bonus I had flipped the dump file name and the count, so the test was coming out as unresolved, which I missed because I was only checking for failures and passes. Whooops. gcc/testsuite/ChangeLog: * gcc.dg/tree-ssa/vrp-float-1.c: Adjust test so it passes.
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/vrp-float-1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/vrp-float-1.c b/gcc/testsuite/gcc.dg/tree-ssa/vrp-float-1.c
index 88faf72ac42..5be54267cf7 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/vrp-float-1.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/vrp-float-1.c
@@ -1,5 +1,5 @@
// { dg-do compile }
-// { dg-options "-O2 -fdisable-tree-ethread -fdisable-tree-fre1 -fdump-tree-evrp" }
+// { dg-options "-O2 -fdisable-tree-ethread -fdisable-tree-fre1 -fdump-tree-evrp-details" }
void bar ();
void george ();
@@ -16,4 +16,4 @@ foo (float x, float y)
}
}
-// { dg-final { scan-tree-dump-times "Folding predicate x_*to 1" "evrp" 1 } }
+// { dg-final { scan-tree-dump-times "Folded into: if \\(1 != 0\\)" 1 "evrp" } }