[Bug c++/68767] [6 regression] spurious warning: null argument where non-null required

amylaar at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 15 09:18:00 GMT 2016


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

--- Comment #11 from Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #10)
 > Of course, the question is if the warning isn't really desirable, the user
> should really just choose some non-NULL magic value to pass in the
> impossible cases.

Are you saying the *_TYPE definitions in newlib-stdint.h should not use 0 in
any branches of their expressions?


More information about the Gcc-bugs mailing list