Concretize gimple_call_set_nothrow
commit8302b41c60a863f853bb9e6a2620d1a59a91629f
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 20 Dec 2013 19:32:02 +0000 (20 14:32 -0500)
committerDavid Malcolm <dmalcolm@redhat.com>
Fri, 24 Oct 2014 21:25:27 +0000 (24 17:25 -0400)
tree8db7bdd8d2fcd19a29520caf72607ee4c7a9d562
parentce9c7876ddfaf92cc0203f20ba2f2c661758b9fd
Concretize gimple_call_set_nothrow

This corresponds to:
  [PATCH 78/89] Concretize gimple_call_set_nothrow
  https://gcc.gnu.org/ml/gcc-patches/2014-04/msg01184.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/msg00837.html

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

* trans-mem.c (ipa_tm_insert_gettmclone_call): Likewise.
(ipa_tm_transform_calls_redirect): Add checked cast to gimple call; this
is only called for gsi on a GIMPLE_CALL statement.
gcc/ChangeLog.gimple-classes
gcc/gimple.h
gcc/trans-mem.c