https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89919
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs-bisection, | |needs-reduction | CC| |jason at gcc dot gnu.org, | |ppalka at gcc dot gnu.org --- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> --- I have a reduced test-case: $ cat pr89919.ii typedef enum { a } b; using c = b; float d, e; template <c> struct f { typedef float g; void h() const; template <typename i> void j(const int &, g *, float *, float *, const i *, const float *) const; }; using k = f<a>; template <> template <typename i> void k::j(const int &, g *, float *, float *, const i *, const float *) const; template <> template <typename i> void k::j(const int &, g *, float *, float *, const i *, const float *) const { int l([&] { l; }); } template <c m> void f<m>::h() const { int n; g o; j(n, &o, &d, &e, static_cast<char *>(0), 0); } template struct f<a>; Rejected on trunk again in r268529, started to ICE in r249323.