https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61213
--- Comment #3 from Marc Glisse <glisse at gcc dot gnu.org> --- Are you sure the code is valid? It doesn't seem so to me. gcc's optimizers have become good enough to recycle the space from dead temporaries.