Re: PR84300, ICE in dwarf2cfi on ppc64le

2018-02-12 Thread Segher Boessenkool
On Sat, Feb 10, 2018 at 02:09:57PM +1030, Alan Modra wrote: > On Fri, Feb 09, 2018 at 08:11:44AM -0600, Segher Boessenkool wrote: > > On Fri, Feb 09, 2018 at 04:12:47PM +1030, Alan Modra wrote: > > > ;; Use r0 to stop regrename twiddling with lr restore insns emitted > > > ;; after the call to __

Re: PR84300, ICE in dwarf2cfi on ppc64le

2018-02-09 Thread Alan Modra
On Fri, Feb 09, 2018 at 08:11:44AM -0600, Segher Boessenkool wrote: > On Fri, Feb 09, 2018 at 04:12:47PM +1030, Alan Modra wrote: > > ;; Use r0 to stop regrename twiddling with lr restore insns emitted > > ;; after the call to __morestack. > > (define_insn "split_stack_return" > > - [(unspec_vo

Re: PR84300, ICE in dwarf2cfi on ppc64le

2018-02-09 Thread Segher Boessenkool
On Fri, Feb 09, 2018 at 04:12:47PM +1030, Alan Modra wrote: > This PR is one of those with a really obvious cause, and fix. There's > nothing in the unspec rtl to say the insn needs lr! > Bootstrapped and regression tested powerpc64le-linux. OK? > > PR target/84300 > gcc/ > * config/