http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59265
--- Comment #10 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Yes, this patch is OK, will you test and commit it? I will also re-test the patch that should prevent early passes from missing this optimization.