https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56223
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #5) > I also noticed that factor_out_conditional_conversion has a similar issue > where the cast is inside both if and else part. I have a fix for that, though we don't remove one of the BB if it becomes empty.