https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63638
Yury Gribov <y.gribov at samsung dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |y.gribov at samsung dot com --- Comment #1 from Yury Gribov <y.gribov at samsung dot com> --- Created attachment 33803 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33803&action=edit Proposed patch Thanks, I was aware of this problem. For GCC 5.0 Maxim is going to fix this with his dont-sanitize-builtins patch (currently reviewed in gcc-patches). Here is a trivial patch for 4.9 but I only had time to perform short regtesting (make check RUNTESTFLAGS=asan.exp).