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

--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Thu Mar  9 22:45:39 2017
New Revision: 246016

URL: https://gcc.gnu.org/viewcvs?rev=246016&root=gcc&view=rev
Log:
        PR c++/79962
        PR c++/79984
        * c-attribs.c (handle_nonnull_attribute): Save the result of default
        conversion to the attribute list.

        * c-c++-common/nonnull-3.c: New test.
        * g++.dg/warn/Wnonnull3.C: New test.

Added:
    trunk/gcc/testsuite/c-c++-common/nonnull-3.c
    trunk/gcc/testsuite/g++.dg/warn/Wnonnull3.C
Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-attribs.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to