aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2010-06-14 17:53:38 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2010-06-14 17:53:38 +0200
commitaa4936945e79262bad9152c984cadb387d342fb6 (patch)
tree91a5d9bb63c37b00e41718726e4713eb049e5990 /gcc/tree.h
parent8ab7d796d82889397ac6b74477be99fc5ee76831 (diff)
downloadgcc-aa4936945e79262bad9152c984cadb387d342fb6.zip
gcc-aa4936945e79262bad9152c984cadb387d342fb6.tar.gz
gcc-aa4936945e79262bad9152c984cadb387d342fb6.tar.bz2
re PR bootstrap/44426 (gcc 4.5.0 requires c9x compiler to build)
PR bootstrap/44426 * tree.h (build_call_expr): Don't define as vararg macro, instead add a prototype. * builtins.c (build_call_nofold): Remove. (expand_builtin_int_roundingfn, expand_builtin_pow, expand_builtin_mempcpy_args, expand_builtin_stpcpy, expand_builtin_memset_args, expand_builtin_strcmp, expand_builtin_strncmp, expand_builtin_memory_chk): Use build_call_nofold_loc instead of build_call_nofold. (build_call_expr): New function. From-SVN: r160754
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index bd86f44..1a2ac3a 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -5017,9 +5017,8 @@ extern bool fold_builtin_next_arg (tree, bool);
extern enum built_in_function builtin_mathfn_code (const_tree);
extern tree build_function_call_expr (location_t, tree, tree);
extern tree fold_builtin_call_array (location_t, tree, tree, int, tree *);
-#define build_call_expr(...)\
- build_call_expr_loc (UNKNOWN_LOCATION, __VA_ARGS__)
extern tree build_call_expr_loc (location_t, tree, int, ...);
+extern tree build_call_expr (tree, int, ...);
extern tree mathfn_built_in (tree, enum built_in_function fn);
extern tree c_strlen (tree, int);
extern tree std_gimplify_va_arg_expr (tree, tree, gimple_seq *, gimple_seq *);