[Bug c++/102990] ICE in tsubst_copy_and_build with coroutines and concepts

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 1 09:25:28 GMT 2021


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2021-11-01

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Reduced testcase:
template <int a> struct f{};

template<double setup> struct knob_t {
  int value = setup;
};
struct Helpers
{
  knob_t<1.0> inputs;
};
template <class T, int N>  auto h(f<N> a) noexcept -> decltype(sizeof(T{}));
int t = h<Helpers>(f<1>{});


More information about the Gcc-bugs mailing list