]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c-family/ChangeLog
re PR c++/28656 (duplicated null argument warning on memcpy())
authorJakub Jelinek <jakub@redhat.com>
Fri, 20 Jul 2012 09:37:25 +0000 (11:37 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 20 Jul 2012 09:37:25 +0000 (11:37 +0200)
commit332f1d2404d4e69a8fb88a3d2b6fc302901caec4
tree25252a03826e4bf84e9d1273eae3b049d63f7537
parent3c82efd91f3f8f1f957907fd7d902e26279239e9
re PR c++/28656 (duplicated null argument warning on memcpy())

PR c++/28656
* tree-vrp.c (nonnull_arg_p): Handle all nonnull attributes instead
of just the first one.

* c-common.c (check_function_nonnull): Handle multiple nonnull
attributes properly.

* c-c++-common/pr28656.c: New test.

From-SVN: r189707
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/pr28656.c [new file with mode: 0644]
gcc/tree-vrp.c