Re: GCC compiler -Warray-bounds option

2018-02-26 Thread Jeff Law
On 02/26/2018 02:41 AM, Mustafa i. wrote: > Hello, > > What exactly is the -Warray-bounds option to the GCC compiler supposed > to warn about? It's meant to warn for out of bounds array access. For example, if you have a 10 element array, but try to access the 11th element you should get a warnin

Re: GCC compiler -Warray-bounds option

2018-02-26 Thread Mustafa i. via gcc
t; > > I have a question about the GCC compiler -Warray-bounds option. Can you > > help me with that or can you help me contact the right person at the GCC > > project? > What in particular do you want to know. gcc@gcc.gnu.org is probably the > best place to ask questions. > > jeff >