aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2015-10-30 13:47:25 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2015-10-30 13:47:25 +0000
commita52380e99db36781c7471c0ab6634ae6b80874f3 (patch)
tree8c6cc49f4587712cc81f3ad44aa3e17e5ce025ea
parentf16e6077eaecf7ace56ff9f0147c9854f93d77e1 (diff)
downloadgcc-a52380e99db36781c7471c0ab6634ae6b80874f3.zip
gcc-a52380e99db36781c7471c0ab6634ae6b80874f3.tar.gz
gcc-a52380e99db36781c7471c0ab6634ae6b80874f3.tar.bz2
Don't free dominators after sincos
sincos has always freed dominators at the end, but AFAICT they should still be up-to-date. (In particular, gimple_purge_dead_eh_edges updates the information.) Tested on x86_64-linux-gnu, arm-linux-gnueabi and aarch64-linux-gnu. gcc/ * tree-ssa-math-opts.c (pass_cse_sincos::execute): Don't free CDI_DOMINATORS. From-SVN: r229582
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree-ssa-math-opts.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3d8b19c..adbd98e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2015-10-30 Richard Sandiford <richard.sandiford@arm.com>
+ * tree-ssa-math-opts.c (pass_cse_sincos::execute): Don't free
+ CDI_DOMINATORS.
+
+2015-10-30 Richard Sandiford <richard.sandiford@arm.com>
+
* real.h (format_helper): New.
(real_convert, exact_real_truncate, real_from_string3, real_to_target)
(real_from_target, real_nan, real_2expN, real_value_truncate)
diff --git a/gcc/tree-ssa-math-opts.c b/gcc/tree-ssa-math-opts.c
index 2080328..1802754 100644
--- a/gcc/tree-ssa-math-opts.c
+++ b/gcc/tree-ssa-math-opts.c
@@ -1857,7 +1857,6 @@ pass_cse_sincos::execute (function *fun)
statistics_counter_event (fun, "sincos statements inserted",
sincos_stats.inserted);
- free_dominance_info (CDI_DOMINATORS);
return cfg_changed ? TODO_cleanup_cfg : 0;
}