This corresponds to: [PATCH 57/89] Concretize parameter to gimple_call_copy_skip_args https://gcc.gnu.org/ml/gcc-patches/2014-04/msg01213.html from the original 89-patch kit
That earlier patch was approved by Jeff: > OK once prerequisites have gone in. in https://gcc.gnu.org/ml/gcc-patches/2014-05/msg00813.html gcc/ * gimple.c (gimple_call_copy_skip_args): Require a gimple_call. * gimple.h (gimple_call_copy_skip_args): Likewise. --- gcc/ChangeLog.gimple-classes | 7 +++++++ gcc/gimple.c | 2 +- gcc/gimple.h | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog.gimple-classes b/gcc/ChangeLog.gimple-classes index 6fd5738..63e5a8c 100644 --- a/gcc/ChangeLog.gimple-classes +++ b/gcc/ChangeLog.gimple-classes @@ -1,5 +1,12 @@ 2014-10-24 David Malcolm <dmalc...@redhat.com> + Concretize parameter to gimple_call_copy_skip_args + + * gimple.c (gimple_call_copy_skip_args): Require a gimple_call. + * gimple.h (gimple_call_copy_skip_args): Likewise. + +2014-10-24 David Malcolm <dmalc...@redhat.com> + Various gimple to gimple_call conversions in IPA * ipa-prop.c (detect_type_change_from_memory_writes): Require a diff --git a/gcc/gimple.c b/gcc/gimple.c index c2b4588..f99ee0f 100644 --- a/gcc/gimple.c +++ b/gcc/gimple.c @@ -2064,7 +2064,7 @@ canonicalize_cond_expr_cond (tree t) the positions marked by the set ARGS_TO_SKIP. */ gimple_call -gimple_call_copy_skip_args (gimple stmt, bitmap args_to_skip) +gimple_call_copy_skip_args (gimple_call stmt, bitmap args_to_skip) { int i; int nargs = gimple_call_num_args (stmt); diff --git a/gcc/gimple.h b/gcc/gimple.h index 4c4afb5..c457bc2 100644 --- a/gcc/gimple.h +++ b/gcc/gimple.h @@ -1392,7 +1392,7 @@ bool gimple_assign_rhs_could_trap_p (gimple); extern void dump_gimple_statistics (void); unsigned get_gimple_rhs_num_ops (enum tree_code); extern tree canonicalize_cond_expr_cond (tree); -gimple_call gimple_call_copy_skip_args (gimple, bitmap); +gimple_call gimple_call_copy_skip_args (gimple_call, bitmap); extern bool gimple_compare_field_offset (tree, tree); extern tree gimple_unsigned_type (tree); extern tree gimple_signed_type (tree); -- 1.8.5.3