diff options
author | Roger Sayle <roger@eyesopen.com> | 2007-02-19 02:45:34 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2007-02-19 02:45:34 +0000 |
commit | b56b9fe39dc195086c6767812dead9ab424c5247 (patch) | |
tree | b1a71a012250204314eb9f32b1e3ee95d8c2e5bb /gcc/langhooks.c | |
parent | da08281c06d60796e3ff5962eb4e655be1cc00ed (diff) | |
download | gcc-b56b9fe39dc195086c6767812dead9ab424c5247.zip gcc-b56b9fe39dc195086c6767812dead9ab424c5247.tar.gz gcc-b56b9fe39dc195086c6767812dead9ab424c5247.tar.bz2 |
function.c (gimplify_parameters): Call build_gimple_modify_stmt instead of calling build2 with a GIMPLE_MODIFY_STMT.
* function.c (gimplify_parameters): Call build_gimple_modify_stmt
instead of calling build2 with a GIMPLE_MODIFY_STMT.
* gimple-low.c (lower_function_body, lower_builtin_setjmp):
Likewise.
* gimplify.c (build_stack_save_restore, gimplify_return_expr,
gimplify_decl_expr, gimplify_self_mod_expr, gimplify_cond_expr,
gimplify_init_ctor_eval_range, gimple_push_cleanup,
gimplify_omp_for, gimplify_omp_atomic_pipeline,
gimplify_omp_atomic_mutex, gimplify_expr, gimplify_one_sizepos,
force_gimple_operand): Likewise.
* ipa-cp.c (constant_val_insert): Likewise.
* lambda-code.c (lbv_to_gcc_expression, lle_to_gcc_expression,
lambda_loopnest_to_gcc_loopnest, replace_uses_equiv_to_x_with_y,
perfect_nestify): Likewise.
* langhooks.c (lhd_omp_assignment): Likewise.
* omp-low.c (lower_rec_input_clauses, lower_reduction_clauses,
lower_copyprivate_clauses, lower_send_clauses,
lower_send_shared_vars, expand_parallel_call,
expand_omp_for_generic, expand_omp_for_static_nochunk,
expand_omp_for_static_chunk, expand_omp_sections,
lower_omp_single_copy, lower_omp_for_lastprivate,
lower_omp_parallel, init_tmp_var, save_tmp_var): Likewise.
* value-prof.c (tree_divmod_fixed_value, tree_mod_pow2,
tree_mod_subtract, tree_ic, tree_stringop_fixed_value):
Likewise.
From-SVN: r122120
Diffstat (limited to 'gcc/langhooks.c')
-rw-r--r-- | gcc/langhooks.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/langhooks.c b/gcc/langhooks.c index 5145fc3..9a33bca 100644 --- a/gcc/langhooks.c +++ b/gcc/langhooks.c @@ -1,5 +1,6 @@ /* Default language-specific hooks. - Copyright 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. + Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007 + Free Software Foundation, Inc. Contributed by Alexandre Oliva <aoliva@redhat.com> This file is part of GCC. @@ -570,7 +571,7 @@ lhd_omp_predetermined_sharing (tree decl ATTRIBUTE_UNUSED) tree lhd_omp_assignment (tree clause ATTRIBUTE_UNUSED, tree dst, tree src) { - return build2 (GIMPLE_MODIFY_STMT, void_type_node, dst, src); + return build_gimple_modify_stmt (dst, src); } /* Register language specific type size variables as potentially OpenMP |