Re: PR87689, PowerPC64 ELFv2 function parameter passing violation

2019-02-14 Thread Segher Boessenkool
On Thu, Feb 14, 2019 at 10:32:50AM +0100, Richard Biener wrote: > On Wed, Feb 13, 2019 at 7:59 AM Alan Modra wrote: > > > > Covers for a generic fortran bug. The effect is that we'll needlessly > > waste 64 bytes of stack space on some calls, but I don't see any > > simple and fully correct patch

Re: PR87689, PowerPC64 ELFv2 function parameter passing violation

2019-02-14 Thread Alan Modra
On Thu, Feb 14, 2019 at 10:32:50AM +0100, Richard Biener wrote: > On Wed, Feb 13, 2019 at 7:59 AM Alan Modra wrote: > > > > Covers for a generic fortran bug. The effect is that we'll needlessly > > waste 64 bytes of stack space on some calls, but I don't see any > > simple and fully correct patch

Re: PR87689, PowerPC64 ELFv2 function parameter passing violation

2019-02-14 Thread Richard Biener
On Wed, Feb 13, 2019 at 7:59 AM Alan Modra wrote: > > Covers for a generic fortran bug. The effect is that we'll needlessly > waste 64 bytes of stack space on some calls, but I don't see any > simple and fully correct patch in generic code. Bootstrapped and > regression tested powerpc64le-linux.

PR87689, PowerPC64 ELFv2 function parameter passing violation

2019-02-12 Thread Alan Modra
Covers for a generic fortran bug. The effect is that we'll needlessly waste 64 bytes of stack space on some calls, but I don't see any simple and fully correct patch in generic code. Bootstrapped and regression tested powerpc64le-linux. OK mainline and branches? PR target/87689