Commit Message

The patch below removes build_call_list from the Fortran FE by making
gfc_conv_procedure_call use build_call_vec. It's not quite as clean as
one might like, mostly because appending vectors is not nearly so nice
as appending lists. The patch does have the nice benefit of removing
quadratic behavior from gfc_conv_procedure_call, so gfortran should get
slightly faster.
This patch removes the last use of build_call_list in GCC. If approved,
I will commit the build_call_list removal followup patch as obvious.
Tested on x86_64-unknown-linux-gnu. OK to commit?
-Nathan
* trans.h (gfc_conv_procedure_call): Take a VEC instead of a tree.
* trans-intrinsic.c (gfc_conv_intrinsic_funcall): Adjust for new
type of gfc_conv_procedure_call.
(conv_generic_with_optional_char_arg): Likewise.
* trans-stmt.c (gfc_trans_call): Likewise.
* trans-expr.c (gfc_conv_function_expr): Likewise.
(append_vec): New function.
(gfc_conv_procedure_call): Use build_call_vec instead of
build_call_list.