[Bug c/78989] Missing -Waddress warning due to -Wno-system-headers

2021-11-22 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78989 --- Comment #9 from Martin Sebor --- GCC 12 (and prior, down to 10) warns for the test case: $ cat pr78989.ii && gcc -S -Wall pr78989.ii int asan_poison_variables () { return (asan_poison_variables && # 6 "gimplify.cpp" 3 4

[Bug c/78989] Missing -Waddress warning due to -Wno-system-headers

2021-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78989 Bug 78989 depends on bug 77513, which changed state. Bug 77513 Summary: -Wzero-as-null-pointer-constant vs 0, nullptr, NULL and __null https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77513 What|Removed |Added

[Bug c/78989] Missing -Waddress warning due to -Wno-system-headers

2019-02-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78989 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|