__builtin___clear_cache

Kazu Yamamoto (=?iso-2022-jp?B?GyRCOzNLXE9CSScbKEI=?=) kazu at iij.ad.jp
Fri Nov 29 02:37:43 UTC 2013


Hi,

5bab1a57f572e29dfdffd6d1ce8e53a2772b18fd introduced
__builtin___clear_cache. I think this is GCC specific.
So, Storage.c cannot be compiled with clang:

----
rts/sm/Storage.c:1294:3:
     error: use of unknown builtin '__builtin___clear_cache' [-Wimplicit-function-declaration]
      __builtin___clear_cache(begin, end);
      ^
1 error generated.
----

--Kazu


More information about the ghc-devs mailing list