https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99320
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- constexpr doesn't imply anything like that. constexpr variables can still be odr-used, their address taken, compared etc.
jakub at gcc dot gnu.org via Gcc-bugs Mon, 01 Mar 2021 08:07:53 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99320
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- constexpr doesn't imply anything like that. constexpr variables can still be odr-used, their address taken, compared etc.