diff options
author | Jakub Jelinek <jakub@redhat.com> | 2010-06-14 17:53:38 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2010-06-14 17:53:38 +0200 |
commit | aa4936945e79262bad9152c984cadb387d342fb6 (patch) | |
tree | 91a5d9bb63c37b00e41718726e4713eb049e5990 /gcc/tree.h | |
parent | 8ab7d796d82889397ac6b74477be99fc5ee76831 (diff) | |
download | gcc-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.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 *); |