Re: [PATCH] Fix ICE due to copy_reg_eh_region_note_forward (PR rtl-optimization/89234)

2019-02-08 Thread Eric Botcazou
> The following testcase ICEs on ppc64le. The problem is that > copy_reg_eh_region_note_* functions accept either some instruction, or > REG_EH_REGION note directly. To differentiate between those it uses INSN_P > test (and returns early if the insn doesn't contain any REG_EH_REGION > notes).

[PATCH] Fix ICE due to copy_reg_eh_region_note_forward (PR rtl-optimization/89234)

2019-02-07 Thread Jakub Jelinek
Hi! The following testcase ICEs on ppc64le. The problem is that copy_reg_eh_region_note_* functions accept either some instruction, or REG_EH_REGION note directly. To differentiate between those it uses INSN_P test (and returns early if the insn doesn't contain any REG_EH_REGION notes). If the