This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]