https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59908
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Target Milestone|--- |4.9.2 Status|NEW |RESOLVED --- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Fixed for GCC 5 with r5-2621 and 4.9.2 with g:5456720833910e . Basically The inlining of the ASAN_CHECK later on fixes the issue.