Concretize gimple_cond_{true|false}_label
commit4f0e11d4fcfa9aa3da2333e535979e60230b4dca
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 20 Dec 2013 18:16:35 +0000 (20 13:16 -0500)
committerDavid Malcolm <dmalcolm@redhat.com>
Fri, 24 Oct 2014 21:25:19 +0000 (24 17:25 -0400)
treea09ea6e0bd1de6ba02cb5b0c634f13b0988eb230
parent3bdef1388370db0770b62e1cfbb0fc612034fe08
Concretize gimple_cond_{true|false}_label

This corresponds to:
  [PATCH 73/89] Concretize gimple_cond_{true|false}_label
  https://gcc.gnu.org/ml/gcc-patches/2014-04/msg01169.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/msg00845.html

gcc/
* gimple.h (gimple_cond_true_label): Require a const_gimple_cond
rather than just a const_gimple.
(gimple_cond_false_label): Likewise.

* omp-low.c (diagnose_sb_2): Add checked cast to gimple_cond within
case GIMPLE_COND.
* tree-eh.c (maybe_record_in_goto_queue): Likewise.

* tree-cfg.c (verify_gimple_stmt): Add a checked cast to gimple_cond
within "case GIMPLE_COND", splitting it out into...
(verify_gimple_label): New.
gcc/ChangeLog.gimple-classes
gcc/gimple.h
gcc/omp-low.c
gcc/tree-cfg.c
gcc/tree-eh.c