https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125571

--- Comment #10 from Drea Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #9)
> More reduced, the important part is that the conditional argument to bar()
> is gimplified to if-then-else and not if-converted.

Right, I wonder if at -O0 (maybe still at -O1) we should gimplify simple
COND_EXPR into a gimple assigment with COND_EXPR.

This will definitely help this case and maybe help compile time in general.

I don't know if we should check if there is a movcc or not though. Just
reducing the number of bbs for into ssa will help here.

Reply via email to