aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2020-08-10 09:39:03 +0200
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 15:07:54 -0300
commitcee4e70e77efe0c85ee27232223b706d983ad3e2 (patch)
tree061a6ae9291be223c9cb43d7da67540f4cb1d1af
parent429181b1ac18d008cd83da586350ac631e7b5787 (diff)
downloadgcc-cee4e70e77efe0c85ee27232223b706d983ad3e2.zip
gcc-cee4e70e77efe0c85ee27232223b706d983ad3e2.tar.gz
gcc-cee4e70e77efe0c85ee27232223b706d983ad3e2.tar.bz2
Declare gt_* functions inline in value-range.h.
gcc/ChangeLog: * value-range.h (gt_ggc_mx): Declare inline. (gt_pch_nx): Same.
-rw-r--r--gcc/value-range.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/value-range.h b/gcc/value-range.h
index e3282c4..1ab3993 100644
--- a/gcc/value-range.h
+++ b/gcc/value-range.h
@@ -343,7 +343,7 @@ range_includes_zero_p (const irange *vr)
}
template<unsigned N>
-static inline void
+inline void
gt_ggc_mx (int_range<N> *x)
{
for (unsigned i = 0; i < N; ++i)
@@ -354,7 +354,7 @@ gt_ggc_mx (int_range<N> *x)
}
template<unsigned N>
-static inline void
+inline void
gt_pch_nx (int_range<N> *x)
{
for (unsigned i = 0; i < N; ++i)
@@ -365,7 +365,7 @@ gt_pch_nx (int_range<N> *x)
}
template<unsigned N>
-static inline void
+inline void
gt_pch_nx (int_range<N> *x, gt_pointer_operator op, void *cookie)
{
for (unsigned i = 0; i < N; ++i)