Re: Finish up PR rtl-optimization/44194

2012-09-16 Thread Eric Botcazou
> I hit one problem building libgfortran for mips64-linux-gnu. > The calls.c change was: > > Index: calls.c > === > --- calls.c (revision 191198) > +++ calls.c (working copy) > @@ -3272,16 +3272,8 @@ expand_call (tree exp, rtx tar

Re: Finish up PR rtl-optimization/44194

2012-09-16 Thread Richard Sandiford
Eric Botcazou writes: > This is the PR about the useless spilling to memory of structures that are > returned in registers. It was essentially addressed last year by Easwaran > with > an enhancement of the RTL DSE pass, but Easwaran also noted that we still > spill > to memory in the simples

Re: Finish up PR rtl-optimization/44194

2012-09-13 Thread Eric Botcazou
> Sounds like a good cleanup to me. Thanks. I managed to screw up the computation of the new right end of the memory access in adjust_address_1 so I'll fix and retest. -- Eric Botcazou

Re: Finish up PR rtl-optimization/44194

2012-09-13 Thread Eric Botcazou
> Will it help > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54315 > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28831 It won't help everywhere, since it's only for architectures that return structures in registers, so x86-64 but not x86 for example. 54315 pertains to single-fielded unions an

Re: Finish up PR rtl-optimization/44194

2012-09-13 Thread Richard Guenther
On Wed, Sep 12, 2012 at 5:37 PM, Eric Botcazou wrote: > This is the PR about the useless spilling to memory of structures that are > returned in registers. It was essentially addressed last year by Easwaran > with > an enhancement of the RTL DSE pass, but Easwaran also noted that we still > spi

Re: Finish up PR rtl-optimization/44194

2012-09-12 Thread H.J. Lu
On Wed, Sep 12, 2012 at 8:37 AM, Eric Botcazou wrote: > This is the PR about the useless spilling to memory of structures that are > returned in registers. It was essentially addressed last year by Easwaran > with > an enhancement of the RTL DSE pass, but Easwaran also noted that we still > spi