diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2005-04-28 05:03:09 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2005-04-28 05:03:09 +0000 |
commit | 2ca202e792186e9641f933ad0830266dbace0eeb (patch) | |
tree | fe6f1039398672aa41a8e7ee84c0d75a91f4b324 /gcc/reorg.c | |
parent | b6f9abcfe37f1b295c17b97f351465467e47921d (diff) | |
download | gcc-2ca202e792186e9641f933ad0830266dbace0eeb.zip gcc-2ca202e792186e9641f933ad0830266dbace0eeb.tar.gz gcc-2ca202e792186e9641f933ad0830266dbace0eeb.tar.bz2 |
bt-load.c, [...]: Use JUMP_P, LABEL_P, REG_P, MEM_P, NONJUMP_INSN_P, and INSN_P where appropriate.
* bt-load.c, cfgexpand.c, dwarf2out.c, emit-rtl.c, expr.c,
function.c, global.c, lcm.c, loop-invariant.c, optabs.c,
reorg.c, resource.c, tree-ssa-loop-ivopts.c, value-prof.c: Use
JUMP_P, LABEL_P, REG_P, MEM_P, NONJUMP_INSN_P, and INSN_P
where appropriate.
From-SVN: r98913
Diffstat (limited to 'gcc/reorg.c')
-rw-r--r-- | gcc/reorg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/reorg.c b/gcc/reorg.c index 6d0db45..43ba321 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -384,7 +384,7 @@ find_end_label (void) /* If the basic block reorder pass moves the return insn to some other place try to locate it again and put our end_of_function_label there. */ - while (insn && ! (GET_CODE (insn) == JUMP_INSN + while (insn && ! (JUMP_P (insn) && (GET_CODE (PATTERN (insn)) == RETURN))) insn = PREV_INSN (insn); if (insn) |