This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PING: C++0x variadic templates fixes
- From: "Doug Gregor" <doug dot gregor at gmail dot com>
- To: "Jason Merrill" <jason at redhat dot com>
- Cc: "GCC Patches" <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 31 Aug 2007 15:16:21 -0400
- Subject: Re: PING: C++0x variadic templates fixes
- References: <24b520d20707251230r2de5b868l85159e833b1490e9@mail.gmail.com> <46C5F718.3060304@redhat.com>
On 8/17/07, Jason Merrill <jason@redhat.com> wrote:
> Doug Gregor wrote:
> > These patches fix a few PRs against logged against variadic templates:
> >
> > http://gcc.gnu.org/ml/gcc-patches/2007-07/msg00170.html
>
> > + init = build_default_init (TREE_TYPE (decl),
> > + integer_one_node);
>
> Why integer_one_node? NULL_TREE seems more appropriate.
Hmmm, you're right. Thanks!
- Doug