Re: [RS6000] Fix PowerPC ICE due to secondary_reload ignoring reload replacements

2015-09-09 Thread David Edelsohn
On Wed, Sep 9, 2015 at 8:57 PM, Alan Modra wrote: > On Tue, Sep 08, 2015 at 02:46:58PM +0200, Ulrich Weigand wrote: >> David Edelsohn wrote: >> > On Mon, Sep 7, 2015 at 11:47 PM, Alan Modra wrote: >> > > In https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67378 analysis I show >> > > the reason for t

Re: [RS6000] Fix PowerPC ICE due to secondary_reload ignoring reload replacements

2015-09-09 Thread Alan Modra
On Tue, Sep 08, 2015 at 02:46:58PM +0200, Ulrich Weigand wrote: > David Edelsohn wrote: > > On Mon, Sep 7, 2015 at 11:47 PM, Alan Modra wrote: > > > In https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67378 analysis I show > > > the reason for this PR is that insns emitted by secondary reload > > > pa

Re: [RS6000] Fix PowerPC ICE due to secondary_reload ignoring reload replacements

2015-09-08 Thread Ulrich Weigand
David Edelsohn wrote: > On Mon, Sep 7, 2015 at 11:47 PM, Alan Modra wrote: > > In https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67378 analysis I show > > the reason for this PR is that insns emitted by secondary reload > > patterns are being generated without taking into account other reloads > > t

Re: [RS6000] Fix PowerPC ICE due to secondary_reload ignoring reload replacements

2015-09-08 Thread David Edelsohn
On Mon, Sep 7, 2015 at 11:47 PM, Alan Modra wrote: > In https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67378 analysis I show > the reason for this PR is that insns emitted by secondary reload > patterns are being generated without taking into account other reloads > that may have occurred. We run i

[RS6000] Fix PowerPC ICE due to secondary_reload ignoring reload replacements

2015-09-07 Thread Alan Modra
In https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67378 analysis I show the reason for this PR is that insns emitted by secondary reload patterns are being generated without taking into account other reloads that may have occurred. We run into this problem when an insn has a pseudo that doesn't get