Re: [PATCH] i386: Fix up handling of debug insns in STV [PR109676]

2023-05-03 Thread Hongtao Liu via Gcc-patches
On Tue, May 2, 2023 at 4:08 PM Jakub Jelinek via Gcc-patches wrote: > > Hi! > > The following testcase ICEs because STV replaces there > (debug_insn 114 47 51 8 (var_location:TI D#3 (reg:TI 91 [ p ])) -1 > (nil)) > with > (debug_insn 114 47 51 8 (var_location:TI D#3 (reg:V1TI 91 [ p ])) -1 >

[PATCH] i386: Fix up handling of debug insns in STV [PR109676]

2023-05-02 Thread Jakub Jelinek via Gcc-patches
Hi! The following testcase ICEs because STV replaces there (debug_insn 114 47 51 8 (var_location:TI D#3 (reg:TI 91 [ p ])) -1 (nil)) with (debug_insn 114 47 51 8 (var_location:TI D#3 (reg:V1TI 91 [ p ])) -1 (nil)) which is invalid because of the mode mismatch. STV has fix_debug_reg_uses