https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94716
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=69681 Summary|comparison of address of |comparison of address of |variables should be |template variables should |constexpr |be constexpr --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Reduced testcase: template <int> char test_impl = 0; static_assert(&test_impl<0> != &test_impl<1>, "should not be equal");