https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67776
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to David from comment #0) > While not particularly interesting of itself, this makes me wonder what > other c error checking might be getting skipped in c++. Or rather the code is in the C front-end but not in the C++ front-end. The C and C++ front-ends don't share all code; just some of it.