diff options
author | Trevor Saunders <tbsaunde@tbsaunde.org> | 2015-09-20 00:52:59 +0000 |
---|---|---|
committer | Trevor Saunders <tbsaunde@gcc.gnu.org> | 2015-09-20 00:52:59 +0000 |
commit | 355fe0884b8097c32e859f0df57c83bde0c6bd26 (patch) | |
tree | aadb7908b4b80ecaf7e744ca1ae42a59a12b07ea /gcc/tree-call-cdce.c | |
parent | e4f2a3e4588bbc3691b452d8a2c520e8196b0ef3 (diff) | |
download | gcc-355fe0884b8097c32e859f0df57c83bde0c6bd26.zip gcc-355fe0884b8097c32e859f0df57c83bde0c6bd26.tar.gz gcc-355fe0884b8097c32e859f0df57c83bde0c6bd26.tar.bz2 |
switch from gimple to gimple*
This renames the gimple_statement_base struct to gimple removes the
typedef of gimple_statement_base * to gimple, and then adjusts all of
the places that use the type.
gcc/ChangeLog:
2015-09-19 Trevor Saunders <tbsaunde@tbsaunde.org>
* coretypes.h (gimple): Change typedef to be a forward
declaration.
* gimple.h (gimple_statement_base): rename to gimple.
* (all functions and types using gimple): Adjust.
* *.[ch]: Likewise.
gcc/cp/ChangeLog:
2015-09-19 Trevor Saunders <tbsaunde@tbsaunde.org>
* cp-gimplify.c (gimplify_must_not_throw_expr): Adjust.
From-SVN: r227941
Diffstat (limited to 'gcc/tree-call-cdce.c')
-rw-r--r-- | gcc/tree-call-cdce.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/gcc/tree-call-cdce.c b/gcc/tree-call-cdce.c index 874d853..e872eda 100644 --- a/gcc/tree-call-cdce.c +++ b/gcc/tree-call-cdce.c @@ -211,7 +211,7 @@ check_pow (gcall *pow_call) else if (bc == SSA_NAME) { tree base_val0, type; - gimple base_def; + gimple *base_def; int bit_sz; /* Only handles cases where base value is converted @@ -325,7 +325,7 @@ gen_one_condition (tree arg, int lbub, enum tree_code tcode, const char *temp_name1, const char *temp_name2, - vec<gimple> conds, + vec<gimple *> conds, unsigned *nconds) { tree lbub_real_cst, lbub_cst, float_type; @@ -369,7 +369,7 @@ gen_one_condition (tree arg, int lbub, static void gen_conditions_for_domain (tree arg, inp_domain domain, - vec<gimple> conds, + vec<gimple *> conds, unsigned *nconds) { if (domain.has_lb) @@ -412,7 +412,7 @@ gen_conditions_for_domain (tree arg, inp_domain domain, static void gen_conditions_for_pow_cst_base (tree base, tree expn, - vec<gimple> conds, + vec<gimple *> conds, unsigned *nconds) { inp_domain exp_domain; @@ -448,15 +448,15 @@ gen_conditions_for_pow_cst_base (tree base, tree expn, static void gen_conditions_for_pow_int_base (tree base, tree expn, - vec<gimple> conds, + vec<gimple *> conds, unsigned *nconds) { - gimple base_def; + gimple *base_def; tree base_val0; tree int_type; tree temp, tempn; tree cst0; - gimple stmt1, stmt2; + gimple *stmt1, *stmt2; int bit_sz, max_exp; inp_domain exp_domain; @@ -537,7 +537,7 @@ gen_conditions_for_pow_int_base (tree base, tree expn, and *NCONDS is the number of logical conditions. */ static void -gen_conditions_for_pow (gcall *pow_call, vec<gimple> conds, +gen_conditions_for_pow (gcall *pow_call, vec<gimple *> conds, unsigned *nconds) { tree base, expn; @@ -673,7 +673,7 @@ get_no_error_domain (enum built_in_function fnc) condition are separated by NULL tree in the vector. */ static void -gen_shrink_wrap_conditions (gcall *bi_call, vec<gimple> conds, +gen_shrink_wrap_conditions (gcall *bi_call, vec<gimple *> conds, unsigned int *nconds) { gcall *call; @@ -722,12 +722,12 @@ shrink_wrap_one_built_in_call (gcall *bi_call) edge bi_call_in_edge0, guard_bb_in_edge; unsigned tn_cond_stmts, nconds; unsigned ci; - gimple cond_expr = NULL; - gimple cond_expr_start; + gimple *cond_expr = NULL; + gimple *cond_expr_start; tree bi_call_label_decl; - gimple bi_call_label; + gimple *bi_call_label; - auto_vec<gimple, 12> conds; + auto_vec<gimple *, 12> conds; gen_shrink_wrap_conditions (bi_call, conds, &nconds); /* This can happen if the condition generator decides @@ -763,7 +763,7 @@ shrink_wrap_one_built_in_call (gcall *bi_call) cond_expr_start = conds[0]; for (ci = 0; ci < tn_cond_stmts; ci++) { - gimple c = conds[ci]; + gimple *c = conds[ci]; gcc_assert (c || ci != 0); if (!c) break; @@ -807,7 +807,7 @@ shrink_wrap_one_built_in_call (gcall *bi_call) cond_expr_start = conds[ci0]; for (; ci < tn_cond_stmts; ci++) { - gimple c = conds[ci]; + gimple *c = conds[ci]; gcc_assert (c || ci != ci0); if (!c) break; |