http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55679
--- Comment #12 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-12-14 16:23:51 UTC --- c-c++-common/asan/global-overflow-1.c and c-c++-common/asan/stack-overflow-1.c fail at -O1 and above because the out of bound read is not detected. If I compile the tests with '-O1 -fno-tree-fre' or '-Ox -fno-tree-fre -fno-tree-pre' (with x==2 or above), I get the expected output. Is this a bug in tree-fre/pre or should these options be passed to the test?