Re: [PATCH v2] rtl: ICE with thread_local and inline asm [PR104777]

2022-03-08 Thread Jakub Jelinek via Gcc-patches
On Tue, Mar 08, 2022 at 11:33:59AM -0500, Marek Polacek wrote: > PR rtl-optimization/104777 > > gcc/ChangeLog: > > * rtl.cc (classify_insn): For ASM_OPERANDS, return JUMP_INSN only if > ASM_OPERANDS_LABEL_VEC has at least one element. > > gcc/testsuite/ChangeLog: > > * g

[PATCH v2] rtl: ICE with thread_local and inline asm [PR104777]

2022-03-08 Thread Marek Polacek via Gcc-patches
On Tue, Mar 08, 2022 at 10:24:50AM -0600, Segher Boessenkool wrote: > On Tue, Mar 08, 2022 at 05:12:43PM +0100, Jakub Jelinek wrote: > > On Tue, Mar 08, 2022 at 09:49:15AM -0600, Segher Boessenkool wrote: > > > > But like I said above, even if we didn't copy these XVECLEN 0 rtvecs, > > > > the cras