The failure to adjust estimated profiling frequencies in reassoc noted in PR110628 affects riscv as well. Add it to the XFAIL set.
Tested on x86_64-linux-gnu native, and gcc-14 target riscv{64,32}-elf. Ok to install? for gcc/testsuite/ChangeLog PR tree-optimization/110628 * gcc.dg/tree-ssa/update-threading.c: XFAIL on riscv. --- gcc/testsuite/gcc.dg/tree-ssa/update-threading.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/tree-ssa/update-threading.c b/gcc/testsuite/gcc.dg/tree-ssa/update-threading.c index 9500099cddff3..024f098fc79ca 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/update-threading.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/update-threading.c @@ -20,4 +20,4 @@ main (int argc, char **argv) foo (((A) { ((!(i >> 4) ? 8 : 64 + (i >> 4)) << 8) + (i << 4) } ).a); exit (0); } -/* { dg-final { scan-tree-dump-times "Invalid sum" 0 "optimized" { xfail cris-*-* } } } Xfail: PR110628 */ +/* { dg-final { scan-tree-dump-times "Invalid sum" 0 "optimized" { xfail cris-*-* riscv*-*-* } } } Xfail: PR110628 */ -- Alexandre Oliva, happy hacker https://blog.lx.oliva.nom.br/ Free Software Activist FSFLA co-founder GNU Toolchain Engineer More tolerance and less prejudice are key for inclusion and diversity. Excluding neuro-others for not behaving ""normal"" is *not* inclusive!