https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100684
Martin Sebor <msebor at gcc dot gnu.org> 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 <msebor at gcc dot gnu.org> --- Fixed on trunk. Will backport to 11.2.