This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Dodji Seketeli] Patch PR c++/45200
- From: Dodji Seketeli <dodji at redhat dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 12 Aug 2010 15:16:25 +0200
- Subject: Re: [Dodji Seketeli] Patch PR c++/45200
- References: <m38w4dovkv.fsf@redhat.com> <4C630F87.9060303@redhat.com>
Jason Merrill <jason@redhat.com> writes:
> The change is OK, but the testcase looks over-reduced; apply1 isn't
> actually used at all.
It's true that apply1 is not used but it is useful to trigger the bug
because it has a different number of template parameters than struct
apply. E.g, removing apply1 or removing its last template parameter
makes the crash to vanish.
--
Dodji