Use gimple_call in some places within tree-ssa-dom.c
commite311e406fd34c29e4f46ee4984a51397fac9171c
authorDavid Malcolm <dmalcolm@redhat.com>
Sat, 21 Dec 2013 02:09:58 +0000 (20 21:09 -0500)
committerDavid Malcolm <dmalcolm@redhat.com>
Fri, 24 Oct 2014 21:25:41 +0000 (24 17:25 -0400)
treec362ba34d2928aff7ad1b0a9fc03f6314fceeb0d
parentfb7f387f616e53421a6e0081646f50d3aae18513
Use gimple_call in some places within tree-ssa-dom.c

This corresponds to:
  [PATCH 87/89] Use gimple_call in some places within tree-ssa-dom.c
  https://gcc.gnu.org/ml/gcc-patches/2014-04/msg01173.html
from the original 89-patch kit

That earlier patch was approved by Jeff:
> OK when prereqs go in.
in https://gcc.gnu.org/ml/gcc-patches/2014-05/msg00856.html

gcc/
* tree-ssa-dom.c (struct hashable_expr): Strengthen field
call.fn_from from gimple to gimple_call.
(initialize_hash_element): Replace check against GIMPLE_CALL
with dyn_cast<gimple_call> and update gimple_call_ uses to use
new gimple_call local, along with fn_from initializer.
(iterative_hash_hashable_expr): Strengthen type of local "fn_from"
from gimple to gimple_call.
(print_expr_hash_elt): Likewise.
gcc/ChangeLog.gimple-classes
gcc/tree-ssa-dom.c