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/flow.c | |
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/flow.c')
-rw-r--r-- | gcc/flow.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); } } |