https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115370
Hongyu Wang <hongyuw at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |x86_64-*-*, i?86-*-* --- Comment #1 from Hongyu Wang <hongyuw at gcc dot gnu.org> --- The issue was in cfgexpand.cc:2648 /* If jumps are cheap and the target does not support conditional compare, turn some more codes into jumpy sequences. */ else if (BRANCH_COST (optimize_insn_for_speed_p (), false) < 4 && targetm.gen_ccmp_first == NULL) { Now in x86 we defined targetm.gen_ccmp_first, but it doesn't mean ccmp is enabled by default as it requires -mapxf. Guess we need a new target hook have_ccmp.