From 60374599761f74ac16626190acf43132835d71a5 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Tue, 2 May 1995 20:53:50 +0000 Subject: [PATCH] (jump_optimize, can_reach_end determination): A barrier can follow the return insn. From-SVN: r9564 --- gcc/jump.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gcc/jump.c b/gcc/jump.c index c1509647e17..4483c720fea 100644 --- a/gcc/jump.c +++ b/gcc/jump.c @@ -265,6 +265,8 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan) then one of them follows the note. */ || (GET_CODE (insn) == JUMP_INSN && GET_CODE (PATTERN (insn)) == RETURN) + /* A barrier can follow the return insn. */ + || GET_CODE (insn) == BARRIER /* Other kinds of notes can follow also. */ || (GET_CODE (insn) == NOTE && NOTE_LINE_NUMBER (insn) != NOTE_INSN_FUNCTION_END))) @@ -2093,6 +2095,8 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan) then one of them follows the note. */ || (GET_CODE (insn) == JUMP_INSN && GET_CODE (PATTERN (insn)) == RETURN) + /* A barrier can follow the return insn. */ + || GET_CODE (insn) == BARRIER /* Other kinds of notes can follow also. */ || (GET_CODE (insn) == NOTE && NOTE_LINE_NUMBER (insn) != NOTE_INSN_FUNCTION_END))) -- 2.30.2