http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60546
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu.org Summary|[4.8 and 4.9] O2 & asan |[4.8/4.9] O2 & asan enable |enable generates wrong |generates wrong insns |insns | --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- It's not fixed by the fix for PR60429. But 1.cpp: In member function ‘unsigned int WTF::StringImpl::hashSlowCase() const’: 1.cpp:26260:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ so at least there's sth fishy going on (fixing it with an obvious change doesn't fix the abort). Note that valgrind reports the error without -fsanitize=address, for -O2 but not for -Os. -fno-tree-loop-im fixes this so it might be a duplicate of PR??? as loop invariant motion can cause the read of uninitialized memory when applying store-motion.