diff options
author | Richard Biener <rguenther@suse.de> | 2025-01-17 13:18:11 +0100 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2025-01-17 13:20:25 +0100 |
commit | 3347ac3cbc7704c7f1d69b6875b65129c6d7dae5 (patch) | |
tree | 76648400de646244db3d5a71a6dd2e7dea9a9638 | |
parent | 6580b89957ccabbb5aaf43736b36b9bd399fbc13 (diff) | |
download | gcc-3347ac3cbc7704c7f1d69b6875b65129c6d7dae5.zip gcc-3347ac3cbc7704c7f1d69b6875b65129c6d7dae5.tar.gz gcc-3347ac3cbc7704c7f1d69b6875b65129c6d7dae5.tar.bz2 |
testsuite/117958 - ifcombine differences on aarch64 vs rest
ifcombine depends on BRANCH_COST and the testcase relies on ifcombine
to fully optimize the function. But the important parts are optimized
everywhere, so the following delectively XFAILs the less important part.
PR testsuite/117958
* g++.dg/tree-ssa/pr117123.C: XFAIL parts on aarch64-*-*.
-rw-r--r-- | gcc/testsuite/g++.dg/tree-ssa/pr117123.C | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/tree-ssa/pr117123.C b/gcc/testsuite/g++.dg/tree-ssa/pr117123.C index 2aa2810..29b69df 100644 --- a/gcc/testsuite/g++.dg/tree-ssa/pr117123.C +++ b/gcc/testsuite/g++.dg/tree-ssa/pr117123.C @@ -49,4 +49,6 @@ int patatino(int a) { } // { dg-final { scan-tree-dump-not "dont_be_here" "optimized" } } -// { dg-final { scan-tree-dump-times "if " 3 "optimized" } } +// Depending on LOGICAL_OP_NON_SHORT_CIRCUIT (or BRANCH_COST) this might +// or might not be optimized fully +// { dg-final { scan-tree-dump-times "if " 3 "optimized" { xfail { aarch64-*-* } } } } |