Concretize gimple_call_nothrow_p
commit29609389df2be0f57dc836683d5117b193a2fbbc
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 20 Dec 2013 19:38:19 +0000 (20 14:38 -0500)
committerDavid Malcolm <dmalcolm@redhat.com>
Fri, 24 Oct 2014 21:25:29 +0000 (24 17:25 -0400)
treed1684cac48cf6235023a6427c3370e6b870b9e96
parent8302b41c60a863f853bb9e6a2620d1a59a91629f
Concretize gimple_call_nothrow_p

This corresponds to:
  [PATCH 79/89] Concretize gimple_call_nothrow_p
  https://gcc.gnu.org/ml/gcc-patches/2014-04/msg01204.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/msg00844.html

gcc/
* gimple.h (gimple_call_nothrow_p): Require a gimple_call.

* tree-eh.c (stmt_could_throw_p): Add checked cast to gimple_call.

* tree-vect-slp.c (vect_build_slp_tree_1): Replace call to
is_gimple_call with dyn_cast<gimple_call>, introducing a local.
gcc/ChangeLog.gimple-classes
gcc/gimple.h
gcc/tree-eh.c
gcc/tree-vect-slp.c