aboutsummaryrefslogtreecommitdiff
path: root/gcc/recog.h
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@redhat.com>2023-02-27 10:12:25 -0500
committerPatrick Palka <ppalka@redhat.com>2023-02-27 10:12:25 -0500
commitb800f80b9c866df5ecaff744149ea695c0e24718 (patch)
tree260608cc9ef2efbe3c928c5533adc41d7f724472 /gcc/recog.h
parentdfa85beebfbc2f879d30d3918f634feabc851782 (diff)
downloadgcc-b800f80b9c866df5ecaff744149ea695c0e24718.zip
gcc-b800f80b9c866df5ecaff744149ea695c0e24718.tar.gz
gcc-b800f80b9c866df5ecaff744149ea695c0e24718.tar.bz2
don't declare header-defined functions both static and inline, cont.
This fixes some header-defined functions that are undesirably declared static and weren't caught by the "^static inline" pattern used for the main patch r13-6096-gcb3e0eac262e55. gcc/ChangeLog: * hash-table.h (gt_pch_nx(hash_table<D>)): Remove static. * lra-int.h (lra_change_class): Likewise. * recog.h (which_op_alt): Likewise. * sel-sched-ir.h (sel_bb_empty_or_nop_p): Declare inline instead of static.
Diffstat (limited to 'gcc/recog.h')
-rw-r--r--gcc/recog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/recog.h b/gcc/recog.h
index 764fa90..539a27c 100644
--- a/gcc/recog.h
+++ b/gcc/recog.h
@@ -382,7 +382,7 @@ extern const operand_alternative *recog_op_alt;
on operand OP of the current instruction alternative (which_alternative).
Only valid after calling preprocess_constraints and constrain_operands. */
-inline static const operand_alternative *
+inline const operand_alternative *
which_op_alt ()
{
gcc_checking_assert (IN_RANGE (which_alternative, 0,