testsuite: Fix up tree-ssa/divide-7.c testcase [PR95424]
This test fails everywhere, because ? doesn't match literal ?. It should use \\? instead. I've also changed those .s in there. 2022-01-29 Jakub Jelinek <jakub@redhat.com> PR tree-optimization/95424 * gcc.dg/tree-ssa/divide-7.c: Fix up regexps in scan-tree-dump{,-not}.
This commit is contained in:
parent
a154487896
commit
3d41939c87
@ -5,5 +5,5 @@ int f(int x) {
|
||||
return 1 / x;
|
||||
}
|
||||
|
||||
/* { dg-final { scan-tree-dump-not "1 / x_..D.;" "optimized" } } */
|
||||
/* { dg-final { scan-tree-dump ".. <= 2 ? x_..D. : 0;" "optimized" } } */
|
||||
/* { dg-final { scan-tree-dump-not "1 / x_\[0-9]\+\\\(D\\\);" "optimized" } } */
|
||||
/* { dg-final { scan-tree-dump " <= 2 \\? x_\[0-9]\+\\\(D\\\) : 0;" "optimized" } } */
|
||||
|
Loading…
Reference in New Issue
Block a user