This corresponds to: [PATCH 61/89] Concretize gimple_call_use_set and gimple_call_clobber_set https://gcc.gnu.org/ml/gcc-patches/2014-04/msg01223.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/msg00817.html gcc/ * gimple.h (gimple_call_use_set): Require a gimple_call. (gimple_call_clobber_set): Likewise. --- gcc/ChangeLog.gimple-classes | 7 +++++++ gcc/gimple.h | 10 ++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog.gimple-classes b/gcc/ChangeLog.gimple-classes index d2bc077..5cf1049 100644 --- a/gcc/ChangeLog.gimple-classes +++ b/gcc/ChangeLog.gimple-classes @@ -1,5 +1,12 @@ 2014-10-24 David Malcolm <dmalc...@redhat.com> + Concretize gimple_call_use_set and gimple_call_clobber_set + + * gimple.h (gimple_call_use_set): Require a gimple_call. + (gimple_call_clobber_set): Likewise. + +2014-10-24 David Malcolm <dmalc...@redhat.com> + Concretize gimple_catch_types * gimple.h (gimple_catch_types): Require a const_gimple_catch diff --git a/gcc/gimple.h b/gcc/gimple.h index 18cfcec..6055e33 100644 --- a/gcc/gimple.h +++ b/gcc/gimple.h @@ -2964,23 +2964,21 @@ gimple_call_copy_flags (gimple dest_call, gimple orig_call) /* Return a pointer to the points-to solution for the set of call-used - variables of the call CALL. */ + variables of the call CALL_STMT. */ static inline struct pt_solution * -gimple_call_use_set (gimple call) +gimple_call_use_set (gimple_call call_stmt) { - gimple_statement_call *call_stmt = as_a <gimple_statement_call *> (call); return &call_stmt->call_used; } /* Return a pointer to the points-to solution for the set of call-used - variables of the call CALL. */ + variables of the call CALL_STMT. */ static inline struct pt_solution * -gimple_call_clobber_set (gimple call) +gimple_call_clobber_set (gimple_call call_stmt) { - gimple_statement_call *call_stmt = as_a <gimple_statement_call *> (call); return &call_stmt->call_clobbered; } -- 1.8.5.3