From 27cc2e7b1c1268e59c9d16b4530f27c0d40e9464 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Mon, 23 Mar 2020 12:36:25 -0400 Subject: rts: Don't mark evacuate_large as inline This function has two callsites and is quite large. GCC consequently decides not to inline and warns instead. Given the situation, I can't blame it. Let's just remove the inline specifier. --- rts/sm/Evac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rts/sm/Evac.c b/rts/sm/Evac.c index 521fd4eef4..e9a1c5d796 100644 --- a/rts/sm/Evac.c +++ b/rts/sm/Evac.c @@ -298,7 +298,7 @@ copy(StgClosure **p, const StgInfoTable *info, that has been evacuated, or unset otherwise. -------------------------------------------------------------------------- */ -STATIC_INLINE void +static void evacuate_large(StgPtr p) { bdescr *bd; -- cgit v1.2.1