On Wed, 19 May 2021, Martin Sebor via Gcc-patches wrote:

> The GCC 11 -Warray-parameter and -Wvla-parameter enhancement uses
> a small local buffer to format the description of the VLA bounds
> for the internal attribute access.  When the number of bounds is
> in excess of the size of the buffer the code asserts as the test
> case in pr100619 shows.  The attached change does away with
> the small buffer and instead formats the description into
> the destination string itself, thus letting it handle VLAs with
> arbitrarily many bounds.
> 
> Tested on x86_64-linux.

OK.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to