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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Sebor <mse...@gcc.gnu.org>:

https://gcc.gnu.org/g:9480491a6447576e8e695b8ea3c4989cf72c9670

commit r12-948-g9480491a6447576e8e695b8ea3c4989cf72c9670
Author: Martin Sebor <mse...@redhat.com>
Date:   Thu May 20 13:15:58 2021 -0600

    PR middle-end/100684 - spurious -Wnonnull with -O1 on a C++ lambda

    gcc/ChangeLog:

            PR middle-end/100684
            * tree-ssa-ccp.c (pass_post_ipa_warn::execute): Handle C++ lambda.

    gcc/testsuite/ChangeLog:

            PR middle-end/100684
            * g++.dg/warn/Wnonnull13.C: New test.
            * g++.dg/warn/Wnonnull14.C: New test.
            * g++.dg/warn/Wnonnull15.C: New test.

Reply via email to