https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82081
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2017-10-26 Ever confirmed|0 |1 --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- C++11 until c++17 does not require the unwinding for except. This changed with c++17. Can you try with -std=c++17 (or -std=gnu++17)?