http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60861
Yury Gribov <y.gribov at samsung dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |y.gribov at samsung dot com --- Comment #3 from Yury Gribov <y.gribov at samsung dot com> --- I can reproduce this in trunk. Looks like Asan pass works correctly but gcc reduces test() to 'return 1;' very early for some reason. I'll debug further.