[commit: ghc] master: Revert "rts: Suppress unused gcc_clear_cache warning" (76769bd)

git at git.haskell.org git at git.haskell.org
Wed Jun 21 21:57:14 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/76769bdf9e423d89518eae4a5a441ae172c54e96/ghc

>---------------------------------------------------------------

commit 76769bdf9e423d89518eae4a5a441ae172c54e96
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Wed Jun 21 17:56:59 2017 -0400

    Revert "rts: Suppress unused gcc_clear_cache warning"
    
    This reverts commit d1d3e98443cf263ef09253e2478e3e638e174e0d.


>---------------------------------------------------------------

76769bdf9e423d89518eae4a5a441ae172c54e96
 rts/sm/Storage.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/rts/sm/Storage.c b/rts/sm/Storage.c
index ac4bf83..4aa4b12 100644
--- a/rts/sm/Storage.c
+++ b/rts/sm/Storage.c
@@ -1345,8 +1345,6 @@ 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;



More information about the ghc-commits mailing list