http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59520
--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> --- The main concerns for diagnostics in such cases are (a) that they are meaningful and (b) that invalid code gets at least one error with -pedantic-errors, and at least one warning or error with -pedantic. There may be less consistency in what's a warning / error if -pedantic rather than -pedantic-errors is used.