https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124570
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2026-03-19
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed. We should most likely not warn here. I suspect what is happening is
we are folding the constexpr function call into &foo0 and then doing the
warning which is wrong.