From: Jason Merrill <jason@redhat.com>
To: Patrick Palka <patrick@parcs.ath.cx>, gcc-patches@gcc.gnu.org
Subject: Re: [PATCH] Fix PR c++/30044
Date: Mon, 15 Jun 2015 18:07:00 -0000 [thread overview]
Message-ID: <557F13E3.3020507@redhat.com> (raw)
In-Reply-To: <1434072342-14126-1-git-send-email-patrick@parcs.ath.cx>
On 06/11/2015 09:25 PM, Patrick Palka wrote:
> + parameter_vec = make_tree_vec
> + (TREE_VEC_LENGTH (TREE_VALUE (current_template_parms)) + 1);
> +
> + for (int i = 0; i < TREE_VEC_LENGTH (parameter_vec) - 1; i++)
> + TREE_VEC_ELT (parameter_vec, i)
> + = TREE_VEC_ELT (TREE_VALUE (current_template_parms), i);
> +
> + TREE_VEC_ELT (parameter_vec, TREE_VEC_LENGTH (parameter_vec) - 1)
> + = tree_last (parameter_list);
Any reason not to use grow_tree_vec?
next prev parent reply other threads:[~2015-06-15 18:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-12 1:28 Patrick Palka
2015-06-15 18:07 ` Jason Merrill [this message]
2015-06-15 18:37 ` Patrick Palka
2015-06-23 7:56 ` Jason Merrill
2015-06-24 0:47 ` Patrick Palka
2015-06-24 9:22 ` Markus Trippelsdorf
2015-06-24 12:25 ` Patrick Palka
2015-06-26 12:05 ` Patrick Palka
2015-07-09 13:07 ` Patrick Palka
2015-07-09 20:56 ` Jason Merrill
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=557F13E3.3020507@redhat.com \
--to=jason@redhat.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=patrick@parcs.ath.cx \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).