More gimple_phi
commita15ee5f45769e7f2d799ab2a4f753fc597972e94
authorDavid Malcolm <dmalcolm@redhat.com>
Wed, 18 Dec 2013 20:21:48 +0000 (18 15:21 -0500)
committerDavid Malcolm <dmalcolm@redhat.com>
Fri, 24 Oct 2014 21:24:49 +0000 (24 17:24 -0400)
tree7b9e377bb8ec5b9455280db71c6528a5c17e3030
parentec29fc69ee1d262f0e25ac79f752a417bcc53c40
More gimple_phi

This corresponds to:
  [PATCH 53/89] More gimple_phi
  https://gcc.gnu.org/ml/gcc-patches/2014-04/msg01200.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/msg00812.html

gcc/
* gimple.h (gimple_phi_set_result): Require a gimple_phi rather
than a plain gimple.
(gimple_phi_set_arg): Likewise.

* tree-outof-ssa.c (remove_gimple_phi_args): Likewise; add a checked
cast to gimple_phi.

* tree-sra.c (replace_removed_params_ssa_names): Add a checked
cast to gimple_phi.
gcc/ChangeLog.gimple-classes
gcc/gimple.h
gcc/tree-outof-ssa.c
gcc/tree-sra.c