This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] share code between tree and gimple folders
- From: Richard Henderson <rth at redhat dot com>
- To: Nathan Froyd <froydnj at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 07 Oct 2010 11:08:13 -0700
- Subject: Re: [PATCH] share code between tree and gimple folders
- References: <20101007172434.GE17388@nightcrawler>
On 10/07/2010 10:24 AM, Nathan Froyd wrote:
> +rewrite_call_expr_array (location_t loc, int oldnargs, tree *args,
> + int skip, tree fndecl, int n, ...)
> +{
> + va_list ap;
> + tree t;
> +
> + va_start (ap, n);
> + t = rewrite_call_expr_valist (loc, oldnargs, args, skip, fndecl, n ap);
^^
Missing comma? Did this really build or did you post the wrong patch?
+rewrite_call_expr (location_t loc, tree exp, int skip, tree fndecl, int n, ...)
> +{
> + va_list ap;
> + tree t;
> +
> + va_start (ap, n);
> + t = rewrite_call_expr_valist (loc, call_expr_nargs (exp),
> + CALL_EXPR_ARGP (exp), skip, ap);
Missing arguments?
I'm going to wait for you to re-post the patch.
r~