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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=87765
     Ever confirmed|0                           |1
                 CC|                            |mpolacek at gcc dot gnu.org
   Last reconfirmed|                            |2020-11-19
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Reduced:

typedef int a;
template <typename> struct al;
template <typename b, b am> using an = al<b, __integer_pack(am)...>;
struct {
  void ap();
} ar;
template <auto ar, template <auto> class, class = an<a, ar.ap>> struct as;
template <auto ar, template <auto> class at> using au = as<ar, at>;
enum av {};
template <av> struct aw;
template <auto ar> class ax { using ay = au<ar, aw>; };
ax<ar> az;

The ICE is in the same spot as in bug 87765.

Reply via email to