From: Aldy Hernandez Date: Mon, 10 Aug 2020 07:39:03 +0000 (+0200) Subject: Declare gt_* functions inline in value-range.h. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7b7bbbcf510bbc0d95389d157369ade799af4717;p=gcc.git Declare gt_* functions inline in value-range.h. gcc/ChangeLog: * value-range.h (gt_ggc_mx): Declare inline. (gt_pch_nx): Same. --- 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)