[Bug c++/96097] ICE in dependent_type_p, at cp/pt.c:26326

2020-10-29 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
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.

[Bug c++/96097] ICE in dependent_type_p, at cp/pt.c:26326

2020-10-29 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96097 Marek Polacek changed: What|Removed |Added CC||eugene at hutorny dot in.ua --- Comment

[Bug c++/96097] ICE in dependent_type_p, at cp/pt.c:26326

2020-10-29 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
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. ***

[Bug c++/96097] ICE in dependent_type_p, at cp/pt.c:26326

2020-07-08 Thread bruck.michael at gmail dot com
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(); }

[Bug c++/96097] ICE in dependent_type_p, at cp/pt.c:26326

2020-07-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96097 Marek Polacek changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/96097] ICE in dependent_type_p, at cp/pt.c:26326

2020-07-08 Thread haoxintu at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96097 Haoxin Tu changed: What|Removed |Added CC||haoxintu at gmail dot com --- Comment #3

[Bug c++/96097] ICE in dependent_type_p, at cp/pt.c:26326

2020-07-08 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96097 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/96097] ICE in dependent_type_p, at cp/pt.c:26326

2020-07-07 Thread bruck.michael at gmail dot com
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