aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2010-11-17 15:56:41 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2010-11-17 15:56:41 +0000
commit0197bf54a19f23c0bcb3fb2e38965db7f9434aaf (patch)
tree51e04045adca5da69da4dcfc833a4a7398c00a66 /gcc
parent3c760b86e19756de8492ff9acadd9e884a2031e1 (diff)
downloadgcc-0197bf54a19f23c0bcb3fb2e38965db7f9434aaf.zip
gcc-0197bf54a19f23c0bcb3fb2e38965db7f9434aaf.tar.gz
gcc-0197bf54a19f23c0bcb3fb2e38965db7f9434aaf.tar.bz2
value-prof.c (gimple_divmod_fixed_value_transform): Update the stmt.
2010-11-17 Richard Guenther <rguenther@suse.de> * value-prof.c (gimple_divmod_fixed_value_transform): Update the stmt. (gimple_mod_pow2_value_transform): Likewise. (gimple_mod_subtract_transform): Likewise. From-SVN: r166871
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/value-prof.c3
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1a7bb1e..6018090 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,12 @@
2010-11-17 Richard Guenther <rguenther@suse.de>
+ * value-prof.c (gimple_divmod_fixed_value_transform): Update
+ the stmt.
+ (gimple_mod_pow2_value_transform): Likewise.
+ (gimple_mod_subtract_transform): Likewise.
+
+2010-11-17 Richard Guenther <rguenther@suse.de>
+
PR lto/46504
* gimple.c (gimple_register_canonical_type): Make sure to only
make type leaders canonical types.
diff --git a/gcc/value-prof.c b/gcc/value-prof.c
index 0710250..2b86e02 100644
--- a/gcc/value-prof.c
+++ b/gcc/value-prof.c
@@ -702,6 +702,7 @@ gimple_divmod_fixed_value_transform (gimple_stmt_iterator *si)
}
gimple_assign_set_rhs_from_tree (si, result);
+ update_stmt (gsi_stmt (*si));
return true;
}
@@ -851,6 +852,7 @@ gimple_mod_pow2_value_transform (gimple_stmt_iterator *si)
result = gimple_mod_pow2 (stmt, prob, count, all);
gimple_assign_set_rhs_from_tree (si, result);
+ update_stmt (gsi_stmt (*si));
return true;
}
@@ -1051,6 +1053,7 @@ gimple_mod_subtract_transform (gimple_stmt_iterator *si)
result = gimple_mod_subtract (stmt, prob1, prob2, i, count1, count2, all);
gimple_assign_set_rhs_from_tree (si, result);
+ update_stmt (gsi_stmt (*si));
return true;
}