https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111564
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- For example 2: /app/example.cpp:11:55: note: not unswitching condition, cost too big (53 insns copied to 51 and 49) So this is based on a cost model which seems reasonible ...