From 4b01bd1658cc87a0d9a674606b4ae78a3b4594fe Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 20 Dec 2000 17:11:31 -0800 Subject: 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 --- gcc/rtl.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gcc/rtl.h') 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. */ -- cgit v1.1