mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-17 02:49:03 +08:00
flow.c (record_active_eh_regions): Terminate loop after finding the last insn in the last basic block.
* flow.c (record_active_eh_regions): Terminate loop after finding the last insn in the last basic block. From-SVN: r29587
This commit is contained in:
parent
d8530e26d3
commit
30439f2985
@ -1,3 +1,8 @@
|
||||
Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* flow.c (record_active_eh_regions): Terminate loop after finding
|
||||
the last insn in the last basic block.
|
||||
|
||||
Wed Sep 22 20:25:00 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
|
||||
|
||||
* config/c4x/c4x.md: Delete parallel instruction peepholes.
|
||||
|
@ -1197,6 +1197,8 @@ record_active_eh_regions (f)
|
||||
{
|
||||
bb->eh_end = (eh_list ? NOTE_EH_HANDLER (XEXP (eh_list, 0)) : -1);
|
||||
i += 1;
|
||||
if (i == n_basic_blocks)
|
||||
break;
|
||||
bb = BASIC_BLOCK (i);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user