This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] 71406, 77508 scoped template_ids
- From: Jason Merrill <jason at redhat dot com>
- To: Nathan Sidwell <nathan at acm dot org>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 23 Jan 2017 15:10:21 -0500
- Subject: Re: [C++ PATCH] 71406, 77508 scoped template_ids
- Authentication-results: sourceware.org; auth=none
- References: <35b307f2-6696-aa94-c98c-fda6d0dab9cb@acm.org>
OK.
On Mon, Jan 23, 2017 at 1:53 PM, Nathan Sidwell <nathan@acm.org> 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 SCOPE_REF splitting to before the TEMPLATE_ID_EXPR handling,
> but leaving the scope checking where it was.
>
> ok?
>
> nathan
> --
> Nathan Sidwell