summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/sibcall.c
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2005-06-03 03:28:44 +0000
committerkan <kan@FreeBSD.org>2005-06-03 03:28:44 +0000
commit2156e40a831a8e0ab68e4bc091c2940bf46ca6df (patch)
treef0dc8ad34f9fcaf27052e24e893a4284b5fee6e9 /contrib/gcc/sibcall.c
parent0a20abcc95340c9d2bb59421bac84eca4fb43b0c (diff)
downloadFreeBSD-src-2156e40a831a8e0ab68e4bc091c2940bf46ca6df.zip
FreeBSD-src-2156e40a831a8e0ab68e4bc091c2940bf46ca6df.tar.gz
Gcc 3.4.4 release.
Diffstat (limited to 'contrib/gcc/sibcall.c')
-rw-r--r--contrib/gcc/sibcall.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/gcc/sibcall.c b/contrib/gcc/sibcall.c
index 81509ee..1d647f1 100644
--- a/contrib/gcc/sibcall.c
+++ b/contrib/gcc/sibcall.c
@@ -330,8 +330,10 @@ static int
call_ends_block_p (rtx insn, rtx end)
{
rtx new_insn;
+
/* END might be a note, so get the last nonnote insn of the block. */
- end = next_nonnote_insn (PREV_INSN (end));
+ if (NOTE_P (end))
+ end = prev_nonnote_insn (end);
/* If the call was the end of the block, then we're OK. */
if (insn == end)
OpenPOWER on IntegriCloud