]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree.h (build_function_call_expr): Delete.
authorNathan Froyd <froydnj@codesourcery.com>
Tue, 13 Jul 2010 18:46:25 +0000 (18:46 +0000)
committerNathan Froyd <froydnj@gcc.gnu.org>
Tue, 13 Jul 2010 18:46:25 +0000 (18:46 +0000)
commit3bb06db415181f6027ac0f99520ced47069d6499
tree435ae90e4b6eed76766475f3f0c7083b8c6f6502
parent3f34855a08b426c05d3c462fd4563c649ad15476
tree.h (build_function_call_expr): Delete.

gcc/
* tree.h (build_function_call_expr): Delete.
(build_call_expr_loc_array): New function.
(build_call_expr_loc_vec): New function.
* tree-flow.h (struct omp_region): Change type of ws_args field
to a VEC.
* builtins.c (build_function_call_expr): Delete.
(build_call_expr_loc_array): New function.
(build_call_expr_loc): Call it.  Use XALLOCAVEC.
(build_call_expr): Likewise.
(build_call_expr_loc_vec): New function.
* cgraphunit.c (build_cdtor): Call build_call_expr instead of
build_function_call_expr.
* expr.c (emutls_var_address): Likewise.
* varasm.c (emutls_common_1): Likewise.
* omp-low.c (expand_omp_atomic_mutex): Likewise.
(expand_omp_taskreg): Adjust for new type of region->ws_args.
(get_ws_args_for): Return a VEC instead of a tree.
(expand_parallel_call): Call build_call_expr_loc_vec instead of
build_function_call_expr.
* stor-layout.c (self_referential_size): Likewise.

gcc/fortran/
* trans-decl.c (build_entry_thunks): Call build_call_expr_loc_vec
instead of build_function_call_expr.
* trans-intrinsic.c (gfc_conv_intrinsic_sr_kind): Likewise.

From-SVN: r162148
12 files changed:
gcc/ChangeLog
gcc/builtins.c
gcc/cgraphunit.c
gcc/expr.c
gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c
gcc/fortran/trans-intrinsic.c
gcc/omp-low.c
gcc/stor-layout.c
gcc/tree-flow.h
gcc/tree.h
gcc/varasm.c