[Bug middle-end/100684] [11 Regression] spurious -Wnonnull with -O1 on a C++ lambda

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 20 19:19:55 GMT 2021


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.


More information about the Gcc-bugs mailing list