aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcse.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>1999-09-09 00:07:41 -0700
committerRichard Henderson <rth@gcc.gnu.org>1999-09-09 00:07:41 -0700
commit76095e2f540a989ea6ff09bdce8d16c648ceca50 (patch)
treea7da2e093783d85c65b07fb9ce3252698327f53b /gcc/gcse.c
parente1b3e07d15a82f07afc3ebd6ecf4ee0334a90d65 (diff)
downloadgcc-76095e2f540a989ea6ff09bdce8d16c648ceca50.zip
gcc-76095e2f540a989ea6ff09bdce8d16c648ceca50.tar.gz
gcc-76095e2f540a989ea6ff09bdce8d16c648ceca50.tar.bz2
combine.c (SUBST): Break out to a real function do_SUBST.
* combine.c (SUBST): Break out to a real function do_SUBST. (SUBST_INT): Likewise. * gcse.c (free_pre_mem): Free `temp_bitmap'. (pre_insert): Free `inserted'. * loop.c (basic_induction_var): Always set `location'. * function.c (expand_function_end): Add initial_trampoline as a root. * rtl.h (init_varasm_once): Declare. * toplev.c (compile_file): Call it. * ggc-simple.c (ggc_mark_string_ptr): New. (ggc_add_string_root): New. (ggc_collect): Disable collection avoidance temporarily. * ggc.h (ggc_add_string_root): Declare. * except.c (create_rethrow_ref): Use ggc_alloc_string. * optabs.c (init_libfuncs): Likewise. * varasm.c (named_section): Use ggc_alloc_string. (make_function_rtl): Likewise. (make_decl_rtl): Likewise. (assemble_static_space): Likewise. (assemble_trampoline_template): Likewise. (output_constant_def): Likewise. (force_const_mem): Likewise. (mark_const_hash_entry): New. (mark_pool_sym_hash_table): New. (mark_varasm_state): Use it. (init_varasm_once): New. * expr.h (init_one_libfunc): Declare. * optabs.c (init_one_libfunc): New. (init_optabs): Use it. * config/gofast.h: Likewise. * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise. * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise. From-SVN: r29226
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r--gcc/gcse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/gcse.c b/gcc/gcse.c
index 40ff243..a90a200 100644
--- a/gcc/gcse.c
+++ b/gcc/gcse.c
@@ -4086,6 +4086,7 @@ free_pre_mem ()
free (comp);
free (antloc);
+ free (temp_bitmap);
free (pre_optimal);
free (pre_redundant);
free (transpout);
@@ -4412,6 +4413,8 @@ pre_insert (index_map)
}
}
}
+
+ sbitmap_vector_free (inserted);
}
/* Copy the result of INSN to REG.