This corresponds to: [PATCH 13/89] tree-ssa-phiprop.c: use gimple_phi https://gcc.gnu.org/ml/gcc-patches/2014-04/msg01235.html from the original 89-patch kit
That earlier patch was approved by Jeff: > OK when prerequisites have gone in. in https://gcc.gnu.org/ml/gcc-patches/2014-05/msg00622.html gcc/ * tree-ssa-phiprop.c (phiprop_insert_phi): Strengthen types of parameter "phi" and local "new_phi" from gimple to gimple_phi. --- gcc/ChangeLog.gimple-classes | 7 +++++++ gcc/tree-ssa-phiprop.c | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog.gimple-classes b/gcc/ChangeLog.gimple-classes index 0e6a5d9..7be584b 100644 --- a/gcc/ChangeLog.gimple-classes +++ b/gcc/ChangeLog.gimple-classes @@ -1,5 +1,12 @@ 2014-10-24 David Malcolm <dmalc...@redhat.com> + tree-ssa-phiprop.c: use gimple_phi + + * tree-ssa-phiprop.c (phiprop_insert_phi): Strengthen types of + parameter "phi" and local "new_phi" from gimple to gimple_phi. + +2014-10-24 David Malcolm <dmalc...@redhat.com> + tree-predcom.c: use gimple_phi in various places * tree-predcom.c (find_looparound_phi): Return a gimple_phi rather diff --git a/gcc/tree-ssa-phiprop.c b/gcc/tree-ssa-phiprop.c index 2105c87..a3e53c2 100644 --- a/gcc/tree-ssa-phiprop.c +++ b/gcc/tree-ssa-phiprop.c @@ -139,11 +139,11 @@ phivn_valid_p (struct phiprop_d *phivn, tree name, basic_block bb) BB with the virtual operands from USE_STMT. */ static tree -phiprop_insert_phi (basic_block bb, gimple phi, gimple use_stmt, +phiprop_insert_phi (basic_block bb, gimple_phi phi, gimple use_stmt, struct phiprop_d *phivn, size_t n) { tree res; - gimple new_phi; + gimple_phi new_phi; edge_iterator ei; edge e; -- 1.8.5.3