On Tue, Feb 23, 2021 at 8:53 PM Martin Sebor via Gcc-patches <gcc-patches@gcc.gnu.org> wrote: > > Adding attribute access to declarations of functions that take > VLA arguments relies on the front end adding attribute "arg spec" > to each VLA parameter. Like the VLA bounds in attribute access, > the same VLA bounds in attribute "arg spec" can cause trouble > during LTO streaming which expects front end trees to have been > either gimplified or removed. For some reason, with arg spec > the LTO abort happens only with -fpic/-shared and so it escaped > testing in the prior fixes. > > The attached patch clears the bounds from attribute "arg spec."
OK. Richard. > Martin