From: Richard Biener Date: Fri, 17 Jan 2025 12:18:11 +0000 (+0100) Subject: testsuite/117958 - ifcombine differences on aarch64 vs rest X-Git-Tag: basepoints/gcc-16~2559 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3347ac3cbc7704c7f1d69b6875b65129c6d7dae5;p=thirdparty%2Fgcc.git 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-*-*. --- diff --git a/gcc/testsuite/g++.dg/tree-ssa/pr117123.C b/gcc/testsuite/g++.dg/tree-ssa/pr117123.C index 2aa2810de952..29b69dfa432c 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-*-* } } } }