Re: A question about detecting array bounds for case Warray-bounds-3.c

2011-09-26 Thread Matthew Gretton-Dann
...@gcc.gnu.org'; 'rgue...@gcc.gnu.org'; Matthew Gretton-Dann Subject: A question about detecting array bounds for case Warray- bounds-3.c Hi, For case gcc/testsuite/gcc.dg/Warray-bounds-3.c, obviously it is an invalid C program, because the last iterations of all the loops cause the acce

Re: Memory corruption due to word sharing

2012-02-03 Thread Matthew Gretton-Dann
-/ In fact the example above is pretty much the same as that given in the ABI docs, and it says that accessing s.i will also cause an access to s.c, but not vice-versa. Thanks, Matt -- Matthew Gretton-Dann Principal Engineer, PD Software, ARM Ltd.