https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66966
--- Comment #4 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. In this case -w suppressed an error when combined with -pedantic-errors. Shouldn't -w only suppress warnings?