http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57426
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID Severity|major |normal --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- It is not __exchange_and_add which causing the abort but rather TdrData::~TdrData which is not part of libstdc++ code. __gnu_cxx::__exchange_and_add is inlined into TdrData::~TdrData which is why gdb and the line numbers are a bit off for the abort.