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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Jun 22 21:33:58 2018
New Revision: 261970

URL: https://gcc.gnu.org/viewcvs?rev=261970&root=gcc&view=rev
Log:
        Backported from mainline
        2018-06-20  Jakub Jelinek  <ja...@redhat.com>

        PR c++/86210
        * c-common.c (check_nonnull_arg): Use fold_for_warn.  Adjust obsolete
        comment.

        * g++.dg/warn/Wnonnull4.C: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/warn/Wnonnull4.C
Modified:
    branches/gcc-7-branch/gcc/c-family/ChangeLog
    branches/gcc-7-branch/gcc/c-family/c-common.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog

Reply via email to