This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Remove call_expr_arg and call_expr_argp
- From: Romain Geissler <romain dot geissler at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 8 Jul 2011 10:44:02 +0200
- Subject: [PATCH] Remove call_expr_arg and call_expr_argp
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.
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);