https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110654
--- Comment #2 from Ulrich Drepper <drepper.fsp+rhbz at gmail dot com> --- (In reply to Andrew Pinski from comment #1) > So this is due to differences in the languages themselves rather than due to > C vs C++ front-end ... This is certainly true for the validation. But the standard never says anything about how an error should be reported. I don't think there is a reason to make this more obscure than necessary.