On Wed, Mar 09, 2022 at 12:30:08PM +0100, Richard Biener wrote: > The following fixes an ICE observed with a MEM_REF allows_mem asm > operand referencing a VLA. The following makes sure to not attempt > to go the temporary creation way when we cannot. > > 2022-03-09 Richard Biener <rguent...@suse.de> > > PR middle-end/104786 > * cfgexpand.cc (expand_asm_stmt): Do not generate a copy > for VLAs without an upper size bound. > > * gcc.dg/pr104786.c: New testcase.
LGTM. Jakub