https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70468
Jason Merrill changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70468
--- Comment #8 from Jason Merrill ---
Author: jason
Date: Fri Feb 23 13:32:41 2018
New Revision: 257931
URL: https://gcc.gnu.org/viewcvs?rev=257931&root=gcc&view=rev
Log:
PR c++/70468 - ICE with constructor delegation via typedef.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70468
Jason Merrill changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70468
--- Comment #7 from Jakub Jelinek ---
It is the expand_member_init's current_template_parms check that matters here,
with
- if (current_template_parms
- || same_type_p (basetype, current_class_type))
- return basetype;
+
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70468
--- Comment #6 from Jakub Jelinek ---
clang++ errors here are on #c0:
pr70468.C:6:10: error: type 'A::f0' (aka 'A<>') is not a direct or virtual base
of 'A'
and on #c2:
pr70468-2.C:5:10: error: type 'A::f0' (aka 'A<>') is not a direct or virtual