https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87489
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msebor at gcc dot gnu.org --- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> --- The original -Wnonnull implementation was done in the front end, making it nearly useless (bug 17308). To improve it, the enhancement committed in r243661 did the checking very late (in calls.c). The initial commit triggered a flurry of warnings during bootstrap (bug 78817) due to various limitations in GCC's optimization passes, which ultimately led to moving the implementation to a much earlier stage where it doesn't benefit from some of the useful optimizations that are done later.