[Bug middle-end/100684] [11 Regression] spurious -Wnonnull with -O1 on a C++ lambda
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100684 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #6 from Martin Sebor --- Backported to GCC 11.2.
[Bug middle-end/100684] [11 Regression] spurious -Wnonnull with -O1 on a C++ lambda
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100684 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Martin Sebor : https://gcc.gnu.org/g:ca0bc927103f5408f4812a3ad65d2d02a37840b2 commit r11-8603-gca0bc927103f5408f4812a3ad65d2d02a37840b2 Author: Martin Sebor Date: Thu Jun 17 12:01:38 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.
[Bug middle-end/100684] [11 Regression] spurious -Wnonnull with -O1 on a C++ lambda
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100684 Martin Sebor changed: What|Removed |Added Summary|spurious -Wnonnull with -O1 |[11 Regression] spurious |on a C++ lambda |-Wnonnull with -O1 on a C++ ||lambda Known to fail|12.0| --- Comment #4 from Martin Sebor --- Fixed on trunk. Will backport to 11.2.