Problems in array access

Utkarsh Singh utkarsh190601@gmail.com
Wed Sep 1 02:31:12 GMT 2021


On 2021-08-31, 09:08 -0600, Martin Sebor <msebor@gmail.com> wrote:

> To refine Jonathan's answer: In cases where the index is constant
> like this one the warning could be issued even with no optimization.
> That it isn't is the result of the choice to depend on optimizations
> unconditionally.  It's worth revisiting this choice in the future.
> If you would like to see such a change for -Warray-bounds (or any
> other warning) please open requests in Bugzilla.

Sure! Currently user account registration is restricted at Bugzilla, I
will request it ASAP.

-- 
Utkarsh Singh
http://utkarshsingh.xyz


More information about the Gcc mailing list