diff options
author | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-15 02:24:41 +0000 |
---|---|---|
committer | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-15 02:24:41 +0000 |
commit | 14ae0310f6eb334b3aaebf166802383cee797990 (patch) | |
tree | ebacdfeed0851e1d26ae03ca28fdcefe93df6304 /gcc/c-gimplify.c | |
parent | 2ef0f9fa590ffb267b6ac9dcc55fdbc76edea9f3 (diff) | |
download | gcc-14ae0310f6eb334b3aaebf166802383cee797990.tar.gz |
* c-common.c (shorten_compare, pointer_int_sum,
c_common_truthvalue_conversion, boolean_increment): Replace calls
to build with calls to buildN.
* c-decl.c (complete_array_type, grokdeclarator): Likewise.
* c-gimplify.c (c_build_bind_expr, gimplify_c_loop,
gimplify_switch_stmt): Likewise.
* c-typeck.c (default_function_array_conversion,
build_component_ref, build_array_ref, build_function_call,
pointer_diff, build_unary_op, build_conditional_expr,
build_compound_expr, build_modify_expr, c_finish_goto_label,
c_finish_goto_ptr, c_finish_return, c_finish_loop,
c_finish_bc_stmt, c_finish_stmt_expr, c_end_compound_stmt,
build_binary_op): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86018 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-gimplify.c')
-rw-r--r-- | gcc/c-gimplify.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/c-gimplify.c b/gcc/c-gimplify.c index 0d92967ff7b..404ea71f0fc 100644 --- a/gcc/c-gimplify.c +++ b/gcc/c-gimplify.c @@ -196,7 +196,7 @@ c_build_bind_expr (tree block, tree body) body = build_empty_stmt (); if (decls || block) { - bind = build (BIND_EXPR, void_type_node, decls, body, block); + bind = build3 (BIND_EXPR, void_type_node, decls, body, block); TREE_SIDE_EFFECTS (bind) = 1; } else @@ -365,7 +365,7 @@ gimplify_c_loop (tree cond, tree body, tree incr, bool cond_is_first) if (cond) { t = build_bc_goto (bc_break); - exit = build (COND_EXPR, void_type_node, cond, exit, t); + exit = build3 (COND_EXPR, void_type_node, cond, exit, t); exit = fold (exit); gimplify_stmt (&exit); } @@ -456,8 +456,8 @@ gimplify_switch_stmt (tree *stmt_p) if (!body) body = build_empty_stmt (); - *stmt_p = build (SWITCH_EXPR, SWITCH_TYPE (stmt), SWITCH_COND (stmt), - body, NULL_TREE); + *stmt_p = build3 (SWITCH_EXPR, SWITCH_TYPE (stmt), SWITCH_COND (stmt), + body, NULL_TREE); SET_EXPR_LOCATION (*stmt_p, stmt_locus); gimplify_stmt (stmt_p); |