[PATCH] add option to emit more array bounds warnigs

Jeff Law law@redhat.com
Tue Jan 13 19:10:00 GMT 2015


On 01/13/15 10:34, Martin Uecker wrote:
>
> Mon, 12 Jan 2015 11:00:44 -0700
> Jeff Law <law@redhat.com>:
>> On 11/11/14 23:13, Martin Uecker wrote:
>
> ...
>
>>>
>>>
>>> * gcc/tree-vrp.c (check_array_ref): Emit more warnings
>>>          for warn_array_bounds >= 2.
>>> * gcc/testsuite/gcc.dg/Warray-bounds-11.c: New test-case.
>>> * gcc/c-family/c.opt: New option -Warray-bounds=.
>>> * gcc/common.opt: New option -Warray-bounds=.
>>> * gcc/doc/invoke.texi: Document new option.
>> Has this patch been bootstrapped and regression tested, if so on what
>> platform.
>
> x86_64-unknown-linux-gnu
Approved.  Please install on the trunk.  Sorry about the delays.

Thanks,

Jeff



More information about the Gcc-patches mailing list