https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96550
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unknown |9.3.1 --- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- And if you read the manual for the -Wnull-dereference warning you'll see it also mentions -fdelete-null-pointer-checks, and if you read about that you should find the solution you need.