diff options
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r-- | gcc/gcse.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gcc/gcse.c b/gcc/gcse.c index 9e4cccb136e..400df2df005 100644 --- a/gcc/gcse.c +++ b/gcc/gcse.c @@ -145,6 +145,8 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "config.h" #include "system.h" +#include "coretypes.h" +#include "tm.h" #include "toplev.h" #include "rtl.h" @@ -719,10 +721,6 @@ gcse_main (f, file) /* Point to release obstack data from for each pass. */ char *gcse_obstack_bottom; - /* Insertion of instructions on edges can create new basic blocks; we - need the original basic block count so that we can properly deallocate - arrays sized on the number of basic blocks originally in the cfg. */ - int orig_bb_count; /* We do not construct an accurate cfg in functions which call setjmp, so just punt to be safe. */ if (current_function_calls_setjmp) @@ -742,7 +740,6 @@ gcse_main (f, file) if (file) dump_flow_info (file); - orig_bb_count = n_basic_blocks; /* Return if there's nothing to do. */ if (n_basic_blocks <= 1) return 0; @@ -841,7 +838,6 @@ gcse_main (f, file) = (rtx *) gmalloc (last_basic_block * sizeof (rtx)); memset ((char *) modify_mem_list, 0, last_basic_block * sizeof (rtx)); memset ((char *) canon_modify_mem_list, 0, last_basic_block * sizeof (rtx)); - orig_bb_count = n_basic_blocks; } free_reg_set_mem (); alloc_reg_set_mem (max_reg_num ()); |