On Tue, 20 Nov 2018, Michael Matz wrote: > > I'm wondering about testcase: should I add an x86-64 specific that tests > for no stack accesses, or would that be too constraining in the future? > > Regstrapped on x86-64-linux, no regressions. Okay for trunk?
By the way, this patch helps x86-64 on PR 84681. Some unnecessary spills remain in the loop, but not as many as without the patch. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84681 Alexander