aboutsummaryrefslogtreecommitdiff
path: root/gcc/optabs.c
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@cygnus.com>1999-04-27 17:08:37 +0000
committerAndrew Macleod <amacleod@gcc.gnu.org>1999-04-27 17:08:37 +0000
commit6af57aae0ec4bdac7a33edac214c10f94fe946c1 (patch)
treeb3e597085cddcc62fd320d5b8095d192a0dc03ec /gcc/optabs.c
parentceff9b144519cbd98a2ba3af247fff5d16d82123 (diff)
downloadgcc-6af57aae0ec4bdac7a33edac214c10f94fe946c1.zip
gcc-6af57aae0ec4bdac7a33edac214c10f94fe946c1.tar.gz
gcc-6af57aae0ec4bdac7a33edac214c10f94fe946c1.tar.bz2
rtl.h (REG_EH_REGION): Update comment to indicate a value of -1 indicates no throw and no nonlocal gotos.
Tue Apr 27 19:50:25 EDT 1999 Andrew MacLeod <amacleod@cygnus.com> * rtl.h (REG_EH_REGION): Update comment to indicate a value of -1 indicates no throw and no nonlocal gotos. * optabs.c (emit_libcall_block): Emit REG_EH_REGION with a value of -1 instead of 0 to indicate a nonlocal goto won't happen either. * flow.c (count_basic_blocks, find_basic_blocks_1): Ignore libcall blocks, look for REG_EH_REGION note exclusively. (make_edges): Check for REG_EH_REGION > 0 for specified handlers. From-SVN: r26680
Diffstat (limited to 'gcc/optabs.c')
-rw-r--r--gcc/optabs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c
index 00ce961..541471e 100644
--- a/gcc/optabs.c
+++ b/gcc/optabs.c
@@ -2604,7 +2604,7 @@ emit_libcall_block (insns, target, result, equiv)
{
rtx note = find_reg_note (insn, REG_EH_REGION, NULL_RTX);
if (note == NULL_RTX)
- REG_NOTES (insn) = gen_rtx_EXPR_LIST (REG_EH_REGION, GEN_INT (0),
+ REG_NOTES (insn) = gen_rtx_EXPR_LIST (REG_EH_REGION, GEN_INT (-1),
REG_NOTES (insn));
}
}