https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71283
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- That is because this is C++ only option. It is listed under https://gcc.gnu.org/onlinedocs/gcc-6.1.0/gcc/C_002b_002b-Dialect-Options.html#C_002b_002b-Dialect-Options : -Wno-terminate (C++ and Objective-C++ only) Disable the warning about a throw-expression that will immediately result in a call to terminate. This is exact location for all other C++ only options are located. So not a bug.