[Bug c++/100102] [9/10/11/12 Regression] ICE in tsubst, at cp/pt.c:15310

ppalka at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jun 3 23:14:59 GMT 2021


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

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |ppalka at gcc dot gnu.org

--- Comment #17 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Reduced valid reproducer:

template<int()> struct ratio;
template<class, class> struct duration {
  static constexpr int _S_gcd();
  template<class> using __is_harmonic = ratio<_S_gcd>;
  using type = __is_harmonic<int>;
};


More information about the Gcc-bugs mailing list