mirror of
https://gcc.gnu.org/git/gcc.git
synced 2025-01-27 06:44:12 +08:00
flow.c (flow_loop_pre_header_scan): Punt if loop enters from entry block.
* flow.c (flow_loop_pre_header_scan): Punt if loop enters from entry block. From-SVN: r36644
This commit is contained in:
parent
368d0da864
commit
ef120fc049
@ -1,3 +1,8 @@
|
||||
2000-09-26 Michael Hayes <mhayes@cygnus.com>
|
||||
|
||||
* flow.c (flow_loop_pre_header_scan): Punt if loop enters
|
||||
from entry block.
|
||||
|
||||
2000-09-25 Jim Wilson <wilson@cygnus.com>
|
||||
|
||||
* config/ia64/ia64.h (INDEX_REG_CLASS): Define to GENERAL_REGS.
|
||||
|
12
gcc/flow.c
12
gcc/flow.c
@ -7869,12 +7869,16 @@ flow_loop_pre_header_scan (loop)
|
||||
sbitmap_zero (loop->pre_header_trace);
|
||||
|
||||
ebb = loop->entry_edges[0]->src;
|
||||
SET_BIT (loop->pre_header_trace, ebb->index);
|
||||
while (ebb->pred->src != ENTRY_BLOCK_PTR
|
||||
&& ! ebb->pred->pred_next)
|
||||
|
||||
if (ebb != ENTRY_BLOCK_PTR)
|
||||
{
|
||||
ebb = ebb->pred->src;
|
||||
SET_BIT (loop->pre_header_trace, ebb->index);
|
||||
while (ebb->pred->src != ENTRY_BLOCK_PTR
|
||||
&& ! ebb->pred->pred_next)
|
||||
{
|
||||
ebb = ebb->pred->src;
|
||||
SET_BIT (loop->pre_header_trace, ebb->index);
|
||||
}
|
||||
}
|
||||
|
||||
loop->pre_header_root = ebb;
|
||||
|
Loading…
Reference in New Issue
Block a user