tree-parloops.c: Use gimple_phi in various places
commitf73ce09148d16fbe1b3c2f58f964bbb14e200f69
authorDavid Malcolm <dmalcolm@redhat.com>
Tue, 17 Dec 2013 17:57:45 +0000 (17 12:57 -0500)
committerDavid Malcolm <dmalcolm@redhat.com>
Fri, 24 Oct 2014 21:24:38 +0000 (24 17:24 -0400)
tree6db7208b911ea9f4585bd8d41c32e5f5c43446bf
parentdbe62fd772e8ecc18581206ab713151d6487a6d1
tree-parloops.c: Use gimple_phi in various places

This corresponds to:
  [PATCH 46/89] tree-parloops.c: Use gimple_phi in various places
  https://gcc.gnu.org/ml/gcc-patches/2014-04/msg01168.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/msg00819.html

gcc/
* tree-parloops.c (reduction_info::keep_res): Strengthen field
from plain gimple to gimple_phi.
(transform_to_exit_first_loop): Strengthen locals "phi", "nphi"
to gimple_phi.  Eliminate early decl of gimple_stmt_iterator gsi
in favor of more tightly scoped gimple_phi_iterators, and a final
later decl as a gimple_stmt_iterator.
gcc/ChangeLog.gimple-classes
gcc/tree-parloops.c