Re: [PATCH] arm: Fix ICE caused by arm_gen_discompare_reg [PR94292]

2020-03-25 Thread Richard Earnshaw (lists)
On 25/03/2020 07:21, Jakub Jelinek via Gcc-patches wrote: > Hi! > > The following testcase ICEs, because arm_gen_discompare_reg creates invalid > RTL which then propagates into DEBUG_INSNs and ICEs while handling them. > The problem is that this function emits > (insn 18 17 19 2 (set (reg:CC_DNE

[PATCH] arm: Fix ICE caused by arm_gen_discompare_reg [PR94292]

2020-03-25 Thread Jakub Jelinek via Gcc-patches
Hi! The following testcase ICEs, because arm_gen_discompare_reg creates invalid RTL which then propagates into DEBUG_INSNs and ICEs while handling them. The problem is that this function emits (insn 18 17 19 2 (set (reg:CC_DNE 100 cc) (compare (ior:SI (ne:SI (subreg:SI (reg:DI 129) 0)