Concretize three gimple_try_set_ accessors
commita374d6436050e7fad543540858443af3551583b1
authorDavid Malcolm <dmalcolm@redhat.com>
Thu, 19 Dec 2013 19:20:44 +0000 (19 14:20 -0500)
committerDavid Malcolm <dmalcolm@redhat.com>
Fri, 24 Oct 2014 21:25:07 +0000 (24 17:25 -0400)
tree703844afe36311ba28e68ae03161511ca1ea85cf
parent82fa70a265ac201c4061d81ec3d1e2a6df07ca06
Concretize three gimple_try_set_ accessors

This corresponds to:
  [PATCH 65/89] Concretize three gimple_try_set_ accessors
  https://gcc.gnu.org/ml/gcc-patches/2014-04/msg01167.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/msg00831.html

gcc/
* gimple.c (gimple_copy): Add checked casts to gimple_try.

* gimple.h (gimple_try_set_kind): Require a gimple_try.
(gimple_try_set_eval): Likewise.
(gimple_try_set_cleanup): Likewise.

* tree-eh.c (optimize_double_finally): Require a pair of gimple_try
statements.
(refactor_eh_r): Convert code comparisons to dynamic casts.
gcc/ChangeLog.gimple-classes
gcc/gimple.c
gcc/gimple.h
gcc/tree-eh.c