https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98182
--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to Christophe Lyon from comment #5) > The new test if-to-switch-10.c fails on aarch64: > FAIL: gcc.dg/tree-ssa/if-to-switch-10.c scan-tree-dump iftoswitch "Condition > chain with [^\n\r]* BBs transformed into a switch statement." I can confirm that. The test will need --param case-values-threshold=5 as the default for aarch64 is 17 if I see correctly. Can you please check also the other test-cases (if-to-switch*.c), I bet they will suffer from the same.