aboutsummaryrefslogtreecommitdiff
path: root/gcc/sched-deps.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2018-12-06 11:32:52 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2018-12-06 11:32:52 +0000
commitc0d105c63d97a76ac9847b82cc658b330961182d (patch)
treebbd5798495f8197c79c8198fc04baab67c83d0bf /gcc/sched-deps.c
parent1c252ef3cbf964ce6022e5431de7f264a929a100 (diff)
downloadgcc-c0d105c63d97a76ac9847b82cc658b330961182d.zip
gcc-c0d105c63d97a76ac9847b82cc658b330961182d.tar.gz
gcc-c0d105c63d97a76ac9847b82cc658b330961182d.tar.bz2
df-problems.c (df_rd_local_compute): Use bitmap_release.
2018-12-06 Richard Biener <rguenther@suse.de> * df-problems.c (df_rd_local_compute): Use bitmap_release. (df_live_free): Likewise. (df_md_local_compute): Likewise. (df_md_free): Release df_md_scratch bitmap. * loop-invariant.c (calculate_loop_reg_pressure): Use bitmap_release. * sched-deps.c (true_dependency_cache, output_dependency_cache, anti_dependency_cache, control_dependency_cache, spec_dependency_cache): Use bitmap instead of bitmap_head *. * sched-ebb.c (schedule_ebbs_init): Initialize non-GTY dont_calc_deps as bitmap allocated from obstack not GC. (schedule_ebbs_finish): Use bitmap_release. * sched-rgn.c (schedule_insns): Initialize non-GTY not_in_df as bitmap allocated from obstack not GC. Use bitmap_release. * sel-sched.c (_forced_ebb_heads): Remove premature optimization. (sel_region_init): Allocate forced_ebb_heads. (sel_region_finish): Free forced_ebb_heads. From-SVN: r266851
Diffstat (limited to 'gcc/sched-deps.c')
-rw-r--r--gcc/sched-deps.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/sched-deps.c b/gcc/sched-deps.c
index f89f282..dfdf5cc 100644
--- a/gcc/sched-deps.c
+++ b/gcc/sched-deps.c
@@ -461,11 +461,11 @@ static HARD_REG_SET implicit_reg_pending_uses;
has enough entries to represent a dependency on any other insn in
the insn chain. All bitmap for true dependencies cache is
allocated then the rest two ones are also allocated. */
-static bitmap_head *true_dependency_cache = NULL;
-static bitmap_head *output_dependency_cache = NULL;
-static bitmap_head *anti_dependency_cache = NULL;
-static bitmap_head *control_dependency_cache = NULL;
-static bitmap_head *spec_dependency_cache = NULL;
+static bitmap true_dependency_cache = NULL;
+static bitmap output_dependency_cache = NULL;
+static bitmap anti_dependency_cache = NULL;
+static bitmap control_dependency_cache = NULL;
+static bitmap spec_dependency_cache = NULL;
static int cache_size;
/* True if we should mark added dependencies as a non-register deps. */