diff options
author | Martin Jambor <mjambor@suse.cz> | 2014-07-30 18:39:23 +0200 |
---|---|---|
committer | Martin Jambor <jamborm@gcc.gnu.org> | 2014-07-30 18:39:23 +0200 |
commit | ea3e455ac77a67e96a916c4c64249be8e20124cd (patch) | |
tree | c22e605d04de9995b190c1f3e9d16b35c7a8ddd6 /gcc | |
parent | 87cb0c0cdbb3387a7964950751ef2dbab33254aa (diff) | |
download | gcc-ea3e455ac77a67e96a916c4c64249be8e20124cd.zip gcc-ea3e455ac77a67e96a916c4c64249be8e20124cd.tar.gz gcc-ea3e455ac77a67e96a916c4c64249be8e20124cd.tar.bz2 |
tree-sra.c (sra_ipa_modify_assign): Change type of the first parameter to gimple.
2014-07-30 Martin Jambor <mjambor@suse.cz>
* tree-sra.c (sra_ipa_modify_assign): Change type of the first
parameter to gimple.
From-SVN: r213306
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree-sra.c | 14 |
2 files changed, 11 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 04b0d3c..6223bd6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-07-30 Martin Jambor <mjambor@suse.cz> + + * tree-sra.c (sra_ipa_modify_assign): Change type of the first + parameter to gimple. + 2014-07-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> * config/s390/s390.c (s390_emit_tpf_eh_return): Pass original return diff --git a/gcc/tree-sra.c b/gcc/tree-sra.c index d90f00a..340d072 100644 --- a/gcc/tree-sra.c +++ b/gcc/tree-sra.c @@ -4579,17 +4579,15 @@ replace_removed_params_ssa_names (gimple stmt, return true; } -/* If the statement pointed to by STMT_PTR contains any expressions that need - to replaced with a different one as noted by ADJUSTMENTS, do so. Handle any - potential type incompatibilities (GSI is used to accommodate conversion - statements and must point to the statement). Return true iff the statement - was modified. */ +/* If the statement STMT contains any expressions that need to replaced with a + different one as noted by ADJUSTMENTS, do so. Handle any potential type + incompatibilities (GSI is used to accommodate conversion statements and must + point to the statement). Return true iff the statement was modified. */ static bool -sra_ipa_modify_assign (gimple *stmt_ptr, gimple_stmt_iterator *gsi, +sra_ipa_modify_assign (gimple stmt, gimple_stmt_iterator *gsi, ipa_parm_adjustment_vec adjustments) { - gimple stmt = *stmt_ptr; tree *lhs_p, *rhs_p; bool any; @@ -4676,7 +4674,7 @@ ipa_sra_modify_function_body (ipa_parm_adjustment_vec adjustments) break; case GIMPLE_ASSIGN: - modified |= sra_ipa_modify_assign (&stmt, &gsi, adjustments); + modified |= sra_ipa_modify_assign (stmt, &gsi, adjustments); modified |= replace_removed_params_ssa_names (stmt, adjustments); break; |