[Bug c++/95242] [10/11 Regression] spurious "warning: zero as null pointer constant [-Wzero-as-null-pointer-constant]" on comparisons with -std=c++2a

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri May 22 06:08:58 GMT 2020


Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
      Known to work|                            |9.3.0
           Keywords|                            |diagnostic
            Summary|[10 Regression] spurious    |[10/11 Regression] spurious
                   |"warning: zero as null      |"warning: zero as null
                   |pointer constant            |pointer constant
                   |[-Wzero-as-null-pointer-con |[-Wzero-as-null-pointer-con
                   |stant]" on comparisons with |stant]" on comparisons with
                   |-std=c++2a                  |-std=c++2a
   Target Milestone|---                         |10.2

More information about the Gcc-bugs mailing list