https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67870
--- Comment #1 from Konstantin Isakov <dragonroot at gmail dot com> --- $ g++-4.9 --std=c++11 bug.cc bug.cc: In destructor ‘Foo::~Foo()’: bug.cc:17:3: internal compiler error: in type_throw_all_p, at cp/except.c:1306 {} ^ Please submit a full bug report, with preprocessed source if appropriate. $ g++-4.9 --version g++-4.9 (Debian 4.9.3-4) 4.9.3