https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70275
--- Comment #3 from Kevin Tucker <kevin-tucker at cox dot net> --- (In reply to Manuel López-Ibáñez from comment #2) > I'm not sure if this is desired, but changing it is not a huge amount of > work: One just needs to move the check for > > /* Give preference to being able to inhibit warnings, before they > get reclassified to something else. */ > if ((diagnostic->kind == DK_WARNING || diagnostic->kind == DK_PEDWARN) > && !diagnostic_report_warnings_p (context, location)) > return false; > > after they get reclassified within diagnostic.c: > > diagnostic_report_diagnostic (diagnostic_context *context, > diagnostic_info *diagnostic) > > > See > https://gcc.gnu.org/wiki/GettingStarted#Basics: > _Contributing_to_GCC_in_10_easy_steps I'm new to this. How is is determined if this is a desired change or not?