https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78791
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 40339 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40339&action=edit gcc7-pr78791.patch Untested fix. I don't see other easy fix than not reusing temporaries between those from the expansion and those from the stv pass, trying to asses what extent the temporaries from the expansion have during stv would be hard.