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
This commit is contained in:
Jeffrey A Law 1998-10-16 17:44:05 +00:00 committed by Jeff Law
parent c55ade0244
commit 96b106e5c9
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,8 @@
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>
* cpplib.c (cpp_get_token): Replace whitespace that occurs between

View file

@ -597,7 +597,7 @@ find_basic_blocks_1 (f, nonlocal_labels)
if (n_basic_blocks > 0)
{
int something_marked = 1;
int deleted;
int deleted = 0;
/* Pass over all blocks, marking each block that is reachable
and has not yet been marked.
@ -631,7 +631,8 @@ find_basic_blocks_1 (f, nonlocal_labels)
&& LABEL_REFS (basic_block_head[i]) == basic_block_head[i])
abort ();
deleted = delete_unreachable_blocks ();
if (! reload_completed)
deleted = delete_unreachable_blocks ();
/* There are pathological cases where one function calling hundreds of
nested inline functions can generate lots and lots of unreachable