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

ensadc at mailnesia dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ensadc at mailnesia dot com

--- Comment #2 from ensadc at mailnesia dot com ---
struct C { int a[2]; };
template <C> struct D { };
constexpr int i_{ };
typedef D<C{ { i_, 1 } }>  DC01;
void f(DC01) {}

The name of `f` is mangled as `_Z1f1DIXtl1CtlA2_iLKi0ELi1EEEEE`. The `LKi0E`
part seems to suggest that the element corresponding to `i_` has type `const
int`, where it should be a plain `int`.

Reply via email to