This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR/8268: implement compile time array subscript checking
On Thu, 2006-12-07 at 10:51 +0100, Dirk MÃller wrote:
> +@item -Warray-bounds
> +@opindex Warray-bounds
> +This option is only active when @option{-O2} or higher is active. It
> warns
> +about subscripts to arrays that are always out of bounds.
> +
>
> Ok? Or should I mention the -ftree-vrp dependency explicitely ?
I still think it should mention the -ftree-vrp dependency explicitly
because people can use -O1 -ftree-vrp and still get the warnings and
then it will look funny as the documentation says -O2 and above.
Thanks,
Andrew Pinski