diff options
author | Jeffrey A Law <law@cygnus.com> | 1999-09-22 12:09:23 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-09-22 06:09:23 -0600 |
commit | 30439f2985a1fa99e0621ce7a426074938c187c8 (patch) | |
tree | 5470eec723483c44ee86e76510d2b7648e389632 /gcc | |
parent | d8530e26d3afae1db40ab847fee7508b479a7561 (diff) | |
download | gcc-30439f2985a1fa99e0621ce7a426074938c187c8.zip gcc-30439f2985a1fa99e0621ce7a426074938c187c8.tar.gz gcc-30439f2985a1fa99e0621ce7a426074938c187c8.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/flow.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e77662a..37be3bf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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); } } |