summaryrefslogtreecommitdiff
path: root/rts/sm
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2017-06-21 16:57:07 -0400
committerBen Gamari <ben@smart-cactus.org>2017-06-21 17:53:39 -0400
commitd1d3e98443cf263ef09253e2478e3e638e174e0d (patch)
treefee995cc391335654f132a854e261ac78d507e0d /rts/sm
parentc6fe403ec714bf29cad9d94196f0db3c80a02235 (diff)
downloadhaskell-d1d3e98443cf263ef09253e2478e3e638e174e0d.tar.gz
rts: Suppress unused gcc_clear_cache warning
Diffstat (limited to 'rts/sm')
-rw-r--r--rts/sm/Storage.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rts/sm/Storage.c b/rts/sm/Storage.c
index 4aa4b12868..ac4bf8389d 100644
--- a/rts/sm/Storage.c
+++ b/rts/sm/Storage.c
@@ -1345,6 +1345,8 @@ StgWord calcTotalCompactW (void)
writing code into memory, so the processor reliably sees it. */
void flushExec (W_ len, AdjustorExecutable exec_addr)
{
+ /* warning suppression */
+ (void)gcc_clear_cache;
#if defined(i386_HOST_ARCH) || defined(x86_64_HOST_ARCH)
/* x86 doesn't need to do anything, so just suppress some warnings. */
(void)len;