Re: [PATCH, v2] Extend subst to simplify CONST_INT inside SIGN_EXTEND.

2019-10-11 Thread Segher Boessenkool
Hi! On Thu, Oct 10, 2019 at 03:16:36PM -0700, Jim Wilson wrote: > This addresses PR 91860 which has four testcases triggering internal errors. > The problem here is that in combine when handling debug insns, we are trying > to substitute > (sign_extend:DI (const_int 8160 [0x1fe0])) > as the value

[PATCH, v2] Extend subst to simplify CONST_INT inside SIGN_EXTEND.

2019-10-10 Thread Jim Wilson
This addresses PR 91860 which has four testcases triggering internal errors. The problem here is that in combine when handling debug insns, we are trying to substitute (sign_extend:DI (const_int 8160 [0x1fe0])) as the value for (reg:DI 78 [ _9 ]) in the debug insn (debug_insn 29 28 30 2 (var_locati