This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ PATCH] c++/78776 fix alias template ICE


On Mon, Dec 12, 2016 at 5:48 PM, Nathan Sidwell <nathan@acm.org> wrote:
> On 12/12/2016 04:44 PM, Jason Merrill wrote:
>>
>> 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
>
> Do you mean '... to NOT look ...'?  If so ...
>
>> that also handles aliases, say TYPE_TEMPLATE_INFO_MAYBE_ALIAS?
>
> I had similar thought (down to the MAYBE name), but guessed that the
> invasiveness would be great.  I suppose SED to the rescue?

I suspect that most uses don't need to change.

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]