]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR tree-optimization/80936 - bcmp, bcopy, and bzero not declared nonnull
authormsebor <msebor@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Oct 2019 22:00:42 +0000 (22:00 +0000)
committermsebor <msebor@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Oct 2019 22:00:42 +0000 (22:00 +0000)
commitb0a712561be6e3ec4a8dc6d6a45a35a2e6150b2e
tree91ca31bbffaccfb18a83ff5eccbe1563d584818f
parentd14dd533dc5a35c0a09453ea7431efa3b2abedbe
PR tree-optimization/80936 - bcmp, bcopy, and bzero not declared nonnull

gcc/testsuite/ChangeLog:

PR tree-optimization/80936
* gcc.dg/Wnonnull-2.c: New test.
* gcc.dg/Wnonnull-3.c: New test.
* gcc.dg/nonnull-3.c: Expect more warnings.

gcc/ChangeLog:

PR tree-optimization/80936
* builtins.def (bcmp, bcopy, bzero): Declare nonnull.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@276491 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/builtins.def
gcc/testsuite/gcc.dg/Wnonnull-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/Wnonnull-3.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/nonnull-3.c