https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66966
--- Comment #3 from Anders Granlund <anders.granlund.0 at gmail dot com> --- (In reply to Jonathan Wakely from comment #2) > Oh wait ... if you use -w then you are suppressing diagnostics, so you can't > really complain that there are no diagnostics! > > So this seems invalid to me. Note that I'm having -pedantic-errors also.