[Bug c++/105885] [12/13 Regression] the address of 'template argument' will never be NULL warning

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jun 8 22:37:59 GMT 2022


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
            Summary|[Regression]: Spurious      |[12/13 Regression] the
                   |warning: "the address of    |address of 'template
                   |[...] will never be NULL    |argument' will never be
                   |[-Waddress]" with const     |NULL warning
                   |char* template argument     |
   Last reconfirmed|                            |2022-06-08
             Status|UNCONFIRMED                 |NEW
   Target Milestone|---                         |12.2

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed, yes this warning should not happen even if it was not inside
constexpr.


More information about the Gcc-bugs mailing list