Re: [PATCH] Fix dwarf2out ICE with UNSPEC_GOTOFF (PR debug/82837)

2017-11-08 Thread Jeff Law
On 11/06/2017 02:35 PM, Jakub Jelinek wrote: > Hi! > > My recent changes to const_ok_for_output_1 to allow UNSPEC if target hook > says it is ok for debug regressed the following testcase, where creative > simplify-rtx.c changes result in (const (neg (unspec ... UNSPEC_GOTOFF))) > being emitted

[PATCH] Fix dwarf2out ICE with UNSPEC_GOTOFF (PR debug/82837)

2017-11-06 Thread Jakub Jelinek
Hi! My recent changes to const_ok_for_output_1 to allow UNSPEC if target hook says it is ok for debug regressed the following testcase, where creative simplify-rtx.c changes result in (const (neg (unspec ... UNSPEC_GOTOFF))) being emitted and the backend not being able to assemble that (assembler