https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79984
--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Author: mpolacek Date: Tue Mar 14 15:53:23 2017 New Revision: 246131 URL: https://gcc.gnu.org/viewcvs?rev=246131&root=gcc&view=rev Log: PR c++/79962 PR c++/79984 * c-common.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: branches/gcc-6-branch/gcc/testsuite/c-c++-common/nonnull-3.c branches/gcc-6-branch/gcc/testsuite/g++.dg/warn/Wnonnull3.C Modified: branches/gcc-6-branch/gcc/c-family/ChangeLog branches/gcc-6-branch/gcc/c-family/c-common.c branches/gcc-6-branch/gcc/testsuite/ChangeLog