On Thu, Feb 14, 2019 at 10:32:50AM +0100, Richard Biener wrote: > On Wed, Feb 13, 2019 at 7:59 AM Alan Modra <amo...@gmail.com> 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. OK mainline and branches? > > This looks very wrong to me ;) It won't work when compiling with -flto > for example.
Blah. Nothing looks right to me. :) That patch was really me giving up on the bug (and hoping I'd found a suitable hack that could be applied to gcc-8 and gcc-7). > The frontend needs to be properly fixed. You'll notice I didn't assign myself to the bug.. -- Alan Modra Australia Development Lab, IBM