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/gimple-laddress.c | |
parent | e4f2a3e4588bbc3691b452d8a2c520e8196b0ef3 (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.
From-SVN: r227941
Diffstat (limited to 'gcc/gimple-laddress.c')
-rw-r--r-- | gcc/gimple-laddress.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gimple-laddress.c b/gcc/gimple-laddress.c index c8036b90d1e..ba9198e921a 100644 --- a/gcc/gimple-laddress.c +++ b/gcc/gimple-laddress.c @@ -80,7 +80,7 @@ pass_laddress::execute (function *fun) { for (gimple_stmt_iterator gsi = gsi_start_bb (bb); !gsi_end_p (gsi);) { - gimple stmt = gsi_stmt (gsi); + gimple *stmt = gsi_stmt (gsi); if (!is_gimple_assign (stmt) || gimple_assign_rhs_code (stmt) != ADDR_EXPR || is_gimple_invariant_address (gimple_assign_rhs1 (stmt))) @@ -117,7 +117,7 @@ pass_laddress::execute (function *fun) base = build_fold_addr_expr (base); base = force_gimple_operand_gsi (&gsi, base, true, NULL, true, GSI_SAME_STMT); - gimple g = gimple_build_assign (gimple_assign_lhs (stmt), + gimple *g = gimple_build_assign (gimple_assign_lhs (stmt), POINTER_PLUS_EXPR, base, offset); gsi_replace (&gsi, g, false); } |