This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Remove call_expr_arg and call_expr_argp
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: Romain Geissler <romain dot geissler at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 8 Jul 2011 10:45:08 +0200
- Subject: Re: [PATCH] Remove call_expr_arg and call_expr_argp
- References: <CAF+LTecXhsAhsxEB=a5Y2t6qV0S6nww3m4pJ9SPqare5bbDirg@mail.gmail.com>
On Fri, Jul 8, 2011 at 10:44 AM, Romain Geissler
<romain.geissler@gmail.com> wrote:
> Hello,
>
> This patch simply removes legacy call_expr_arg and call_expr_argp
> declarations since these functions no longer have a defined body. Use
> CALL_EXPR_ARG and CALL_EXPR_ARGP macros instead.
>
> Build fine and no regression on x86_64.
Ok.
Thanks,
Richard.
> 2011-07-08 ?Romain Geissler ?<romain.geissler@gmail.com>
>
> ? ? ? * tree.h: Remove call_expr_arg and call_expr_argp
>
>
>
> Index: gcc/tree.h
> ===================================================================
> --- gcc/tree.h ?(revision 175907)
> +++ gcc/tree.h ?(working copy)
> @@ -5130,8 +5130,6 @@ extern bool commutative_ternary_tree_cod
> ?extern tree upper_bound_in_type (tree, tree);
> ?extern tree lower_bound_in_type (tree, tree);
> ?extern int operand_equal_for_phi_arg_p (const_tree, const_tree);
> -extern tree call_expr_arg (tree, int);
> -extern tree *call_expr_argp (tree, int);
> ?extern tree create_artificial_label (location_t);
> ?extern const char *get_name (tree);
> ?extern bool stdarg_p (const_tree);
>