[Bug tree-optimization/80936] bcmp, bcopy, and bzero not declared nonnull

egallager at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 9 14:20:00 GMT 2018


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

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ghazi at gcc dot gnu.org

--- Comment #2 from Eric Gallager <egallager at gcc dot gnu.org> ---
Comment in builtins.def says:

/* bcmp, bcopy and bzero have traditionally accepted NULL pointers
   when the length parameter is zero, so don't apply attribute "nonnull".  */

svn blame says Kaveh Ghazi wrote that comment; cc-ing him


More information about the Gcc-bugs mailing list