Re: [C++ PATCH] 71406, 77508 scoped template_ids

2017-01-23 Thread Jason Merrill
OK. On Mon, Jan 23, 2017 at 1:53 PM, Nathan Sidwell wrote: > This patch fixes 71406 and 77508, which are both ICEs dealing with > 'X::Foo<...>'. finish_class_member_access_expr wasn't prepared to handle > SCOPE_REF (TEMPLATE_ID_EXPR (...)), which is what it was being fed. Fixed > by moving the

[C++ PATCH] 71406, 77508 scoped template_ids

2017-01-23 Thread Nathan Sidwell
This patch fixes 71406 and 77508, which are both ICEs dealing with 'X::Foo<...>'. finish_class_member_access_expr wasn't prepared to handle SCOPE_REF (TEMPLATE_ID_EXPR (...)), which is what it was being fed. Fixed by moving the SCOPE_REF splitting to before the TEMPLATE_ID_EXPR handling, but