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: [PATCH] share code between tree and gimple folders


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~


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