https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84961
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 43716 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43716&action=edit gcc8-pr84961.patch So like this? Or of course the gimplifier could do it too. The second testcase passed e.g. with 4.4, but fails already with 4.6, the first one regressed later with the SSA_NAME gimplification.