PR tree-optimization/80936 - bcmp, bcopy, and bzero not declared nonnull
authorMartin Sebor <msebor@gcc.gnu.org>
Wed, 2 Oct 2019 22:00:42 +0000 (16:00 -0600)
committerMartin Sebor <msebor@gcc.gnu.org>
Wed, 2 Oct 2019 22:00:42 +0000 (16:00 -0600)
commitd1090a8a805de4e3b33248753e792ab302d3f6db
tree91ca31bbffaccfb18a83ff5eccbe1563d584818f
parentaa29ed6db6d409b54e552830230205a7b4da0d4d
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.

From-SVN: r276491
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