http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60071
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Note the case RTX_UNARY: handling in simplify_while_replacing wasn't strictly necessary to fix the bug, so in theory that can be temporarily reverted, but that doesn't change anything on this being a target bug.