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: [PATCH] PR c++/43327


On Thu, Mar 25, 2010 at 12:49 PM, Dodji Seketeli <dodji@redhat.com> wrote:
> On Thu, Mar 25, 2010 at 12:04:19PM -0400, Jason Merrill wrote:
>> Rather than this I'd call add_to_template_args unconditionally and
>> fix it to handle null ARGS.
>
> Like the above patch?
>
> Tested on x86_64-unknown-linux-gnu against trunk.
>
> ? ? ? ?Dodji
>
> commit 8b0213a76bc15754abc305faaa835fa14cc924a7
> Author: Dodji Seketeli <dodji@redhat.com>
> Date: ? Tue Mar 16 11:28:37 2010 +0100
>
> ? ?Draft fix for PR c++/43327
>
> ? ?gcc/cp/ChangeLog:
> ? ? ? ?PR c++/43327
> ? ? ? ?pt.c (add_to_template_args): Support NULL ARGS;
> ? ? ? ?(most_specialized_class): call coerce_template_parms on
> ? ? ? ?template arguments passed to get_class_bindings. Use
> ? ? ? ?add_to_template_args.
> ? ? ? ?(unify): Handle VAR_DECLs.
>
> ? ?gcc/testsuite/ChangeLog:
> ? ? ? ?PR c++/43327
> ? ? ? ?g++.dg/other/crash-10.C: New test.
> ? ? ? ?g++.dg/other/crash-11.C: New test.
>

This caused:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43953

-- 
H.J.


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