Commit 96b106e5 by Jeffrey A Law Committed by Jeff Law

flow.c (find_basic_blocks_1): Do not delete unreachable blocks after reload has completed.

        * flow.c (find_basic_blocks_1): Do not delete unreachable blocks
        after reload has completed.

From-SVN: r23140
parent c55ade02
Fri Oct 16 10:58:23 1998 Jeffrey A Law (law@cygnus.com)
* flow.c (find_basic_blocks_1): Do not delete unreachable blocks
after reload has completed.
Fri Oct 16 17:26:10 1998 Dave Brolley <brolley@cygnus.com> Fri Oct 16 17:26:10 1998 Dave Brolley <brolley@cygnus.com>
* cpplib.c (cpp_get_token): Replace whitespace that occurs between * cpplib.c (cpp_get_token): Replace whitespace that occurs between
......
...@@ -597,7 +597,7 @@ find_basic_blocks_1 (f, nonlocal_labels) ...@@ -597,7 +597,7 @@ find_basic_blocks_1 (f, nonlocal_labels)
if (n_basic_blocks > 0) if (n_basic_blocks > 0)
{ {
int something_marked = 1; int something_marked = 1;
int deleted; int deleted = 0;
/* Pass over all blocks, marking each block that is reachable /* Pass over all blocks, marking each block that is reachable
and has not yet been marked. and has not yet been marked.
...@@ -631,7 +631,8 @@ find_basic_blocks_1 (f, nonlocal_labels) ...@@ -631,7 +631,8 @@ find_basic_blocks_1 (f, nonlocal_labels)
&& LABEL_REFS (basic_block_head[i]) == basic_block_head[i]) && LABEL_REFS (basic_block_head[i]) == basic_block_head[i])
abort (); abort ();
deleted = delete_unreachable_blocks (); if (! reload_completed)
deleted = delete_unreachable_blocks ();
/* There are pathological cases where one function calling hundreds of /* There are pathological cases where one function calling hundreds of
nested inline functions can generate lots and lots of unreachable nested inline functions can generate lots and lots of unreachable
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment