[Bug c++/94808] [ICE] [Regression] Segfault during diagnostics from concept check failure
ppalka at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 28 12:12:26 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94808
Patrick Palka <ppalka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2020-04-28
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0 |1
Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org
CC| |ppalka at gcc dot gnu.org
--- Comment #1 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Confirmed. Reduced testcase:
template<typename T, typename... Args>
concept baz = requires (T t, Args... args) { *t; };
template<typename T>
requires baz<T>
void foo() { }
void bar()
{
foo<int>();
}
GCC 10 segfaults during diagnostics, GCC 9 doesn't.
Looking into it.
More information about the Gcc-bugs
mailing list