https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96554
rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rsandifo at gcc dot gnu.org --- Comment #6 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> --- (In reply to Martin Sebor from comment #5) > The latest trunk of GCC 11 has over 700 distinct instances of the > -Wnull-dereference warning so some work is still needed before it can be > enabled in either -Wextra or -Wall. Here's the breakdown: It'd be interesting to know how many would still be caught by a “must” version of the option, if it was split into a may/must pair (as per earlier suggestions in Wnull-dereference). Maybe we could emulate that by sticking in a postdominannce test and rerunning the numbers…