On Wed, May 04, 2016 at 11:08:47AM +0200, Bernd Schmidt wrote: > On 05/04/2016 11:05 AM, Alan Modra wrote: > >I agree it's good to find these things.. Another nasty bug to add to > >the list is complete breakage of gccgo on powerpc64le. I see register > >renaming around the prologue call to __morestack, which trashes > >function arguments. > > How does this come about, is there something incorrect about the RTL > representation of __morestack?
That's highly likely. call_fusage is just r12, it's non-standard parameter. -- Alan Modra Australia Development Lab, IBM