aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rtl.c')
-rw-r--r--gcc/rtl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/rtl.c b/gcc/rtl.c
index 346155e..2f32c64 100644
--- a/gcc/rtl.c
+++ b/gcc/rtl.c
@@ -686,6 +686,8 @@ classify_insn (rtx x)
for (j = XVECLEN (x, 0) - 1; j >= 0; j--)
if (GET_CODE (XVECEXP (x, 0, j)) == CALL)
return CALL_INSN;
+ else if (ANY_RETURN_P (XVECEXP (x, 0, j)))
+ return JUMP_INSN;
else if (GET_CODE (XVECEXP (x, 0, j)) == SET
&& GET_CODE (SET_DEST (XVECEXP (x, 0, j))) == PC)
return JUMP_INSN;