aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2000-12-20 17:11:31 -0800
committerRichard Henderson <rth@gcc.gnu.org>2000-12-20 17:11:31 -0800
commit4b01bd1658cc87a0d9a674606b4ae78a3b4594fe (patch)
treeffba52aed7e19dec753b233566b9ab484e11d29e /gcc/rtl.h
parent1e248ee3875e64165a8a5c928e175603be975ffa (diff)
downloadgcc-4b01bd1658cc87a0d9a674606b4ae78a3b4594fe.zip
gcc-4b01bd1658cc87a0d9a674606b4ae78a3b4594fe.tar.gz
gcc-4b01bd1658cc87a0d9a674606b4ae78a3b4594fe.tar.bz2
rtl.h (REG_NON_LOCAL_GOTO): New.
* rtl.h (REG_NON_LOCAL_GOTO): New. * rtl.c (reg_note_name): Update. * stmt.c (expand_goto): Emit a REG_NON_LOCAL_GOTO note. * builtins.c (expand_builtin_longjmp): Likewise. * flow.c (make_edges): Check for REG_NON_LOCAL_GOTO and do not emit an edge. From-SVN: r38408
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index ce35cd8..397ea98 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -549,7 +549,11 @@ enum reg_note
REG_MAYBE_DEAD,
/* Indicates that a call does not return. */
- REG_NORETURN
+ REG_NORETURN,
+
+ /* Indicates that an indirect jump is a non-local goto instead of a
+ computed goto. */
+ REG_NON_LOCAL_GOTO
};
/* The base value for branch probability notes. */