From 681b88eb653f3837fc01e2b87f4d274fa34737f1 Mon Sep 17 00:00:00 2001 From: Olivier Hainque Date: Tue, 13 Aug 2019 11:16:18 +0000 Subject: [PATCH] Adjust placement of protoype for tablejump_casesi_pattern So it appears next to the prototype of tablejump_p, matching the definition placement in rtlanal.c. From-SVN: r274378 --- gcc/ChangeLog | 4 ++++ gcc/rtl.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index aa036ca8c52..5739f22c4d2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2019-08-13 Olivier Hainque + + * rtl.h (tablejump_casesi_pattern): Move declaration to proper spot. + 2019-08-13 Olivier Hainque * rtlanal.c (tablejump_casesi_pattern): New function, to diff --git a/gcc/rtl.h b/gcc/rtl.h index bb67a133142..efb9b3ce40d 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -2945,7 +2945,6 @@ extern rtvec shallow_copy_rtvec (rtvec); extern bool shared_const_p (const_rtx); extern rtx copy_rtx (rtx); extern enum rtx_code classify_insn (rtx); -extern rtx tablejump_casesi_pattern (const rtx_insn *insn); extern void dump_rtx_statistics (void); /* In emit-rtl.c */ @@ -3482,6 +3481,7 @@ extern void replace_label (rtx *, rtx, rtx, bool); extern void replace_label_in_insn (rtx_insn *, rtx_insn *, rtx_insn *, bool); extern bool rtx_referenced_p (const_rtx, const_rtx); extern bool tablejump_p (const rtx_insn *, rtx_insn **, rtx_jump_table_data **); +extern rtx tablejump_casesi_pattern (const rtx_insn *insn); extern int computed_jump_p (const rtx_insn *); extern bool tls_referenced_p (const_rtx); extern bool contains_mem_rtx_p (rtx x); -- 2.30.2