https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105067
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
Last reconfirmed| |2022-03-28
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
> ./cc1plus -quiet t.ii -std=c++20
t.ii: In substitution of 'template<class> requires C<
<template-parameter-1-1> > class S [with <template-parameter-1-1> = void]':
t.ii:7:7: required from here
t.ii:7:7: internal compiler error: in operator[], at vec.h:889
7 | S<void> s;
| ^
0xc063b2 vec<vec<tree_node*, va_heap, vl_ptr>, va_heap,
vl_embed>::operator[](unsigned int)
/home/rguenther/src/gcc3/gcc/vec.h:889
0xc0546a vec<vec<tree_node*, va_heap, vl_ptr>, va_heap,
vl_ptr>::operator[](unsigned int)
/home/rguenther/src/gcc3/gcc/vec.h:1495
0xc00841 get_mapped_args
/home/rguenther/src/gcc3/gcc/cp/constraint.cc:2876
0xc00ffe satisfy_atom
/home/rguenther/src/gcc3/gcc/cp/constraint.cc:2958
0xc014c1 satisfy_constraint_r
/home/rguenther/src/gcc3/gcc/cp/constraint.cc:3028