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

Justin Bassett <jbassett271 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jbassett271 at gmail dot com

--- Comment #2 from Justin Bassett <jbassett271 at gmail dot com> ---
I also hit this bug: https://godbolt.org/z/EAinjd

template <typename T>
struct foo {
    static inline constexpr bool bar = {};
};

namespace {
    constexpr bool const* asdf1 = &foo<int>::bar;
    constexpr bool const* asdf2 = &foo<long int>::bar;
}

static_assert(asdf1 != asdf2);

Reply via email to