Re: [PATCH] correct VLA bound traversal (PR 100719)

2021-05-29 Thread Jeff Law via Gcc-patches
On 5/26/2021 1:29 PM, Martin Sebor via Gcc-patches wrote: The -Wvla-parameter checking of the bounds of VLA parameters in function redeclarations has a few bugs: a) it scans the string that encodes the attribute access representation of the VLA bounds from the end, failing to consider that the

[PATCH] correct VLA bound traversal (PR 100719)

2021-05-26 Thread Martin Sebor via Gcc-patches
The -Wvla-parameter checking of the bounds of VLA parameters in function redeclarations has a few bugs: a) it scans the string that encodes the attribute access representation of the VLA bounds from the end, failing to consider that the string may be followed by another for a subsequent VLA, b) it