http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22568
--- Comment #12 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-08 20:59:51 UTC --- I have a patch to tree-ssa-phiopt.c to fix comment #1 though it needs another patch to expr.c to produce the cmov directly from COND_EXPR. I hope to post both patches for 4.8.0.