This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] c++/78776 fix alias template ICE
- 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, 12 Dec 2016 16:44:24 -0500
- Subject: Re: [C++ PATCH] c++/78776 fix alias template ICE
- Authentication-results: sourceware.org; auth=none
- References: <ef9e1f4c-b1e2-24f3-649a-c45d0d51eba3@acm.org>
On Mon, Dec 12, 2016 at 2:12 PM, Nathan Sidwell <nathan@acm.org> wrote:
> Solved by breaking TYPE_TEMPLATE_INFO into an underlying helper that doesn't
> deal with type aliases.
I like this idea, but I don't like the name. Since alias templates
are generally transparent in the language, I wonder about changing
TYPE_TEMPLATE_INFO to look through aliases and creating a new macro
that also handles aliases, say TYPE_TEMPLATE_INFO_MAYBE_ALIAS?
Jason