https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96097
--- Comment #8 from Marek Polacek ---
Here, make_typename_type is called when tsubsting, i.e. p_t_d is 0, and it
calls dependent_scope_p with a dependent type. We might need ++ptd/--ptd
around the call to make_typename_type.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96097
Marek Polacek changed:
What|Removed |Added
CC||eugene at hutorny dot in.ua
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96097
--- Comment #6 from Marek Polacek ---
*** Bug 95931 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96097
--- Comment #5 from Michael Bruck ---
Further simplified code
template typename>
void func() {}
template
struct Y {};
void test()
{
func();
}
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96097
Marek Polacek changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96097
Haoxin Tu changed:
What|Removed |Added
CC||haoxintu at gmail dot com
--- Comment #3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96097
Martin Liška changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96097
--- Comment #1 from Michael Bruck ---
trunk:
internal compiler error: in dependent_type_p, at cp/pt.c:26326
10.1:
internal compiler error: in dependent_type_p, at cp/pt.c:26343