[Bug analyzer/107526] - -Wanayzer-null-dereference false positive with different behaviors when delete unrelated statement “int *e = 0;”

geoffreydgr at icloud dot com gcc-bugzilla@gcc.gnu.org
Fri Nov 4 15:18:30 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107526

--- Comment #1 from Geoffrey <geoffreydgr at icloud dot com> ---
And if i compile this case with gcc 11.3, it does not report NPD warning.
https://godbolt.org/z/v88PWvs3s
seems like a regression problem.


More information about the Gcc-bugs mailing list