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: PING: C++0x variadic templates fixes


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


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