From 7b7bbbcf510bbc0d95389d157369ade799af4717 Mon Sep 17 00:00:00 2001 From: Aldy Hernandez Date: Mon, 10 Aug 2020 09:39:03 +0200 Subject: [PATCH] Declare gt_* functions inline in value-range.h. gcc/ChangeLog: * value-range.h (gt_ggc_mx): Declare inline. (gt_pch_nx): Same. --- gcc/value-range.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/value-range.h b/gcc/value-range.h index e3282c4ad03..1ab39939703 100644 --- a/gcc/value-range.h +++ b/gcc/value-range.h @@ -343,7 +343,7 @@ range_includes_zero_p (const irange *vr) } template -static inline void +inline void gt_ggc_mx (int_range *x) { for (unsigned i = 0; i < N; ++i) @@ -354,7 +354,7 @@ gt_ggc_mx (int_range *x) } template -static inline void +inline void gt_pch_nx (int_range *x) { for (unsigned i = 0; i < N; ++i) @@ -365,7 +365,7 @@ gt_pch_nx (int_range *x) } template -static inline void +inline void gt_pch_nx (int_range *x, gt_pointer_operator op, void *cookie) { for (unsigned i = 0; i < N; ++i) -- 2.30.2