https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61300
--- Comment #3 from Richard Biener rguenth at gcc dot gnu.org ---
(In reply to Alan Modra from comment #1)
So, the writes way past this is writing into the parameter save area.
compare_kr is assuming that it was called with a parameter save
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61300
--- Comment #4 from Alan Modra amodra at gmail dot com ---
You could do that, but smaller stack frames is one of the nice features of the
ELFv2 ABI! What I called the quick and dirty fix seems to be the way to go,
as the scheme I had in mind to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61300
--- Comment #5 from Alan Modra amodra at gmail dot com ---
Actually, to work the patch in comment #3 would need to be
- if (!prototype_p (fun) || stdarg_p (fun))
+ if (1)
return true;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61300
Alan Modra amodra at gmail dot com changed:
What|Removed |Added
Status|NEW |ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61300
--- Comment #2 from Alan Modra amodra at gmail dot com ---
Created attachment 32854
-- https://gcc.gnu.org/bugzilla/attachment.cgi?id=32854action=edit
quick and dirty fix
This fixes the problem in a fairly obvious way, but I think we can use a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61300
David Edelsohn dje at gcc dot gnu.org changed:
What|Removed |Added
Target||powerpc64le-*-*