[Bug middle-end/37130] warning: array subscript is above array bounds.

2009-10-23 Thread enrio at online dot no
--- Comment #4 from enrio at online dot no 2009-10-23 10:06 --- In my example code there is a pointer to a struct that has an array as the first member. I appears that the compiler treats the pointer as a pointer to this first member, and flags a loop that writes outside the first

[Bug middle-end/37130] warning: array subscript is above array bounds.

2009-10-23 Thread enrio at online dot no
--- Comment #3 from enrio at online dot no 2009-10-23 07:41 --- Created an attachment (id=18877) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18877&action=view) Code that warns, 50 lines, no #include. #ifdef for variations w/o warning -- http://gcc.gnu.org/b