Re: [PATCH] into-ssa: Fix emitting debug stmts after asm goto [PR108095]

2022-12-15 Thread Richard Biener via Gcc-patches
On Thu, 15 Dec 2022, Jakub Jelinek wrote: > Hi! > > The following testcase ICEs, because ccp1 replaced > s.0_1 = &s; > __asm__ goto("" : "=r" MEM[(T *)s.0_1] : : : "lab" lab); > with > __asm__ goto("" : "=r" s : : : "lab" lab); > and because s is no longer addressable, we are rewriting

[PATCH] into-ssa: Fix emitting debug stmts after asm goto [PR108095]

2022-12-14 Thread Jakub Jelinek via Gcc-patches
Hi! The following testcase ICEs, because ccp1 replaced s.0_1 = &s; __asm__ goto("" : "=r" MEM[(T *)s.0_1] : : : "lab" lab); with __asm__ goto("" : "=r" s : : : "lab" lab); and because s is no longer addressable, we are rewriting it into ssa and want __asm__ goto("" : "=r" s_7 : : : "