[Bug c/82963] -Waddress too trigger happy

mhocko at kernel dot org gcc-bugzilla@gcc.gnu.org
Mon Nov 13 12:11:00 GMT 2017


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

--- Comment #1 from Michal Hocko <mhocko at kernel dot org> ---
Btw. the compiler doesn't complain if I rewrite the macro to do an explicit
NULL check
(maskp != NULL) ? MAX_NUMNODES : 0, (maskp != NULL) ? (maskp)->bits : NULL


More information about the Gcc-bugs mailing list