aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/i386/i386.c
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde@tbsaunde.org>2015-09-20 00:52:59 +0000
committerTrevor Saunders <tbsaunde@tbsaunde.org>2015-09-20 00:52:59 +0000
commit4cdbb39f601fb060837a8a08e27247314112e5ab (patch)
treeaadb7908b4b80ecaf7e744ca1ae42a59a12b07ea /gcc/config/i386/i386.c
parent6807c606596fde847018fc0329b4fa66308f8491 (diff)
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. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@227941 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/i386.c')
-rw-r--r--gcc/config/i386/i386.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index 00e7006ec9a..d547cfd108a 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -34456,11 +34456,11 @@ static basic_block
add_condition_to_bb (tree function_decl, tree version_decl,
tree predicate_chain, basic_block new_bb)
{
- gimple return_stmt;
+ gimple *return_stmt;
tree convert_expr, result_var;
- gimple convert_stmt;
- gimple call_cond_stmt;
- gimple if_else_stmt;
+ gimple *convert_stmt;
+ gimple *call_cond_stmt;
+ gimple *if_else_stmt;
basic_block bb1, bb2, bb3;
edge e12, e23;
@@ -34511,7 +34511,7 @@ add_condition_to_bb (tree function_decl, tree version_decl,
and_expr_var = cond_var;
else
{
- gimple assign_stmt;
+ gimple *assign_stmt;
/* Use MIN_EXPR to check if any integer is zero?.
and_expr_var = min_expr <cond_var, and_expr_var> */
assign_stmt = gimple_build_assign (and_expr_var,
@@ -34878,7 +34878,7 @@ dispatch_function_versions (tree dispatch_decl,
basic_block *empty_bb)
{
tree default_decl;
- gimple ifunc_cpu_init_stmt;
+ gimple *ifunc_cpu_init_stmt;
gimple_seq gseq;
int ix;
tree ele;
@@ -40074,7 +40074,7 @@ rdseed_step:
as that is a cheaper way to load all ones into
a register than having to load a constant from
memory. */
- gimple def_stmt = SSA_NAME_DEF_STMT (arg3);
+ gimple *def_stmt = SSA_NAME_DEF_STMT (arg3);
if (is_gimple_call (def_stmt))
{
tree fndecl = gimple_call_fndecl (def_stmt);