https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78791

--- Comment #6 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Jakub Jelinek from comment #5)
> Created attachment 40339 [details]
> 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.

This patch is OK. We have to take care fro various passes to not clobber shared
stack slots, and STV pass is just too invasive to let it share SLOT_TEMP.

Reply via email to