https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578
Kees Cook <kees at outflux dot net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kees at outflux dot net --- Comment #30 from Kees Cook <kees at outflux dot net> --- The Linux kernel is seeing more and more of these warnings and it's becoming a bit of a burden. For example: https://lore.kernel.org/linux-hardening/20220227195918.705219-1-keesc...@chromium.org Given that this is a regression in behavior, and the kernel is not alone in tripping over this (9 duplicate bugs reported here already), can this be given greater priority? Would it be possible to add an option to just disable the "constant is a NULL pointer" logic directly?