[PATCH] clear more front end VLA bounds from IL (PR 97172)
Martin Sebor
msebor@gmail.com
Tue Feb 23 19:19:59 GMT 2021
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."
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-97172-3.diff
Type: text/x-patch
Size: 1889 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20210223/78c1cb1c/attachment.bin>
More information about the Gcc-patches
mailing list