Strengthen params of all gimple_wce_ accessors

gcc/ChangeLog.gimple-classes:
	* doc/gimple.texi (Class hierarchy of GIMPLE statements): Update
	for renaming of gimple_statement_wce to gwce.
	* gimple-walk.c (walk_gimple_stmt): Add checked cast to gwce *
	within case GIMPLE_WITH_CLEANUP_EXPR.
	* gimple.c (gimple_build_wce): Strengthen return type and local
	"p" from gimple to gwce *.
	(gimple_copy): Add checked casts to gwce * within case
	GIMPLE_WITH_CLEANUP_EXPR.
	* gimple.h (struct gimple_statement_wce): Rename to...
	(struct gwce): ...this.
	(is_a_helper <gimple_statement_wce *>::test): Rename to...
	(is_a_helper <gwce *>::test): ...this.
	(gimple_build_wce): Strengthen return type from gimple to gwce *.
	(gimple_wce_cleanup_ptr): Strengthen param from gimple to gwce *.
	(gimple_wce_cleanup): Likewise.
	(gimple_wce_set_cleanup): Likewise.
	(gimple_wce_cleanup_eh_only): Strengthen param from const_gimple
	to const gwce *.
	(gimple_wce_set_cleanup_eh_only): Strengthen param from gimple to
	gwce *.
	* gimplify.c (gimplify_cleanup_point_expr): Replace check against
	GIMPLE_WITH_CLEANUP_EXPR with a dyn_cast <gwce *>, strengthening
	local "wce" from gimple to gwce *.
	(gimple_push_cleanup): Strengthen local "wce" from gimple to
	gwce *.
	* gsstruct.def (GSS_WCE): Update for renaming of
	gimple_statement_wce to gwce.
	* tree-inline.c (remap_gimple_stmt): Add checked cast to gwce *
	within case GIMPLE_WITH_CLEANUP_EXPR.
Make gimple_goto_dest require a const ggoto *

gcc/ChangeLog.gimple-classes:
	* gimple.h (gimple_goto_dest): Strengthen param from const_gimple to
	const ggoto *.
	* cfgexpand.c (expand_gimple_stmt_1): Add checked cast to ggoto *
	within case GIMPLE_GOTO.
	* gimple-walk.c (walk_stmt_load_store_addr_ops): Add checked cast
	to ggoto *.
	* ipa-icf-gimple.c (ipa_icf_gimple::func_checker::compare_bb): Add
	checked casts to ggoto * within case GIMPLE_GOTO.
	(ipa_icf_gimple::func_checker::compare_gimple_goto): Strengthen
	both params from gimple to const ggoto *.
	* ipa-icf-gimple.h (ipa_icf_gimple::func_checker::compare_gimple_goto):
	Likewise.
	* omp-low.c (diagnose_sb_2): Add checked cast to ggoto * within
	case GIMPLE_GOTO.
	* tree-cfg.c (computed_goto_p): Replace check for GIMPLE_GOTO with
	a dyn_cast <ggoto *>, introducing new local "goto_stmt".
	(handle_abnormal_edges): Strengthen local "last" from gimple to
	ggoto *.
	(make_goto_expr_edges): Add checked cast to ggoto * within region
	where we know it's a simple goto.
	(simple_goto_p): Replace check for GIMPLE_GOTO with a
	dyn_cast <ggoto *>, introducing new local "goto_stmt".
	* tree-cfgcleanup.c (cleanup_control_flow_bb): Likewise, using
	new "goto_stmt" in place of "stmt".
	* tree-eh.c (replace_goto_queue_cond_clause): Likewise, using
	new "goto_stmt" in place of gimple_seq_first_stmt (new_seq).
	(maybe_record_in_goto_queue): Add checked cast to ggoto * within
	case GIMPLE_GOTO.
	* tree-inline.c (inline_forbidden_p_stmt): Likewise.
	* tree-nested.c (convert_nonlocal_reference_stmt): Likewise.
	(convert_nl_goto_reference): Add checked cast to ggoto *.
	* tree-ssa-dom.c (initialize_hash_element): Replace check for
	GIMPLE_GOTO with a dyn_cast <ggoto *>, introducing new local
	"goto_stmt".
	(optimize_stmt): Likewise.
	(propagate_rhs_into_lhs): Add checked cast to ggoto *.
	* tree-ssa-sccvn.c (cond_dom_walker::before_dom_children): Likewise.
	* tree-ssa-threadedge.c (simplify_control_stmt_condition): Likewise.
	* tree-ssa-threadupdate.c (bb_ends_with_multiway_branch): Likewise.
Strengthen remaining gimple_try_ accessors to require a gtry *

gcc/ChangeLog.gimple-classes:
	* gimple.h (gimple_try_kind): Strengthen param from const_gimple
	to const gtry *.
	(gimple_try_catch_is_cleanup): Likewise.
	(gimple_try_eval_ptr): Strengthen param from gimple gtry *.
	(gimple_try_eval): Likewise.
	(gimple_try_cleanup_ptr): Likewise.
	(gimple_try_cleanup): Likewise.
	* gimple-low.c (lower_stmt): Introduce new local gtry *try_stmt
	via a checked cast, using it in place of stmt for typesafety.
	(lower_try_catch): Strengthen local "stmt" from gimple to gtry *.
	(gimple_stmt_may_fallthru): Within case GIMPLE_TRY, introduce new
	local gtry *try_stmt via a checked cast, using it in place of stmt
	for typesafety.
	* gimple-walk.c (walk_gimple_stmt): Likewise.
	* omp-low.c (lower_omp_1): Likewise.
	* tree-cfg.c (verify_gimple_in_seq_2): Likewise.
	(do_warn_unused_result): Likewise.
	* tree-eh.c (collect_finally_tree): Likewise.
	(replace_goto_queue_1): Likewise.
	(honor_protect_cleanup_actions): Replace check against GIMPLE_TRY
	with a dyn_cast <gtry *>, introducing new local "try_stmt", using it
	in place of "stmt".
	(optimize_double_finally): Strengthen local "oneh" from gimple to
	gtry *, via a dyn_cast.
	(refactor_eh_r): Within case GIMPLE_TRY, introduce new local
	gtry *try_stmt via a checked cast, using it in place of stmt for
	typesafety.
	* tree-inline.c (remap_gimple_stmt): Likewise.
	(estimate_num_insns): Likewise.