From: Jeffrey A Law Date: Fri, 16 Oct 1998 17:44:05 +0000 (+0000) Subject: flow.c (find_basic_blocks_1): Do not delete unreachable blocks after reload has compl... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=96b106e5c960e9aad26ee54caa0a9f1688e55b6b;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 52eff081659..df1abe7be42 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 * cpplib.c (cpp_get_token): Replace whitespace that occurs between diff --git a/gcc/flow.c b/gcc/flow.c index b91882337ca..32e6ebbfd4e 100644 --- a/gcc/flow.c +++ b/gcc/flow.c @@ -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