[Bug c++/123237] [reflection] ICE: in write_type, at cp/mangle.cc:2744
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 9 14:17:14 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123237
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Another mangling ICE testcase:
#include <meta>
template <typename T>
using A = [:parent_of (^^T):]::B;
namespace C {
using B = int;
struct S {};
}
namespace D {
using B = long;
struct S {};
}
int
main ()
{
[] <typename T = C::S> requires (requires { A<T> {}; }) {} ();
}
More information about the Gcc-bugs
mailing list