aboutsummaryrefslogtreecommitdiff
path: root/gcc/final.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2019-02-15 10:40:34 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2019-02-15 10:40:34 +0000
commitbf7988f1e9410097080584fdb414951a9930ca6e (patch)
tree8d5b2c396ec5a3876eb6fd62024d749ddff7ff2b /gcc/final.c
parent9f53b76775c53998a7714570ae8d36acab02a07f (diff)
downloadgcc-bf7988f1e9410097080584fdb414951a9930ca6e.zip
gcc-bf7988f1e9410097080584fdb414951a9930ca6e.tar.gz
gcc-bf7988f1e9410097080584fdb414951a9930ca6e.tar.bz2
lib2funcs.c (__set_trampoline_parity): Replace TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
libgcc/ * config/visium/lib2funcs.c (__set_trampoline_parity): Replace TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__. gcc/ * final.c (insn_current_reference_address): Replace test on JUMP_P with test on jump_to_label_p. * config/visium/visium-passes.def: New file. * config/visium/t-visium (PASSES_EXTRA): Define. * config/visium/visium-protos.h (make_pass_visium_reorg): Declare. * config/visium/visium.h (TRAMPOLINE_SIZE): Adjust. (TRAMPOLINE_ALIGNMENT): Define. * config/visium/visium.c (visium_option_override): Do not register the machine-specific reorg pass here. (visium_trampoline_init): Align the BRA insn on a 64-bit boundary for the GR6. (output_branch): Adjust threshold for long branch instruction. * config/visium/visium.md (cpu): Move around. (length): Adjust for the GR6. From-SVN: r268931
Diffstat (limited to 'gcc/final.c')
-rw-r--r--gcc/final.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/final.c b/gcc/final.c
index f6edd6a..fefc487 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -606,7 +606,7 @@ insn_current_reference_address (rtx_insn *branch)
rtx_insn *seq = NEXT_INSN (PREV_INSN (branch));
seq_uid = INSN_UID (seq);
- if (!JUMP_P (branch))
+ if (!jump_to_label_p (branch))
/* This can happen for example on the PA; the objective is to know the
offset to address something in front of the start of the function.
Thus, we can treat it like a backward branch.