This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/28656] duplicated null argument warning on memcpy()


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28656

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-07-20 09:37:29 UTC ---
Author: jakub
Date: Fri Jul 20 09:37:25 2012
New Revision: 189707

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189707
Log:
    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.

Added:
    trunk/gcc/testsuite/c-c++-common/pr28656.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-common.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vrp.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]