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.