mirror of
git://git.code.sf.net/p/sbcl/sbcl
synced 2026-09-10 07:26:40 -04:00
Should fix lp#2092573 however the two machines I tried in the gcc farm both
didn't work, in different ways. The Alpine distro failed to build without this
so there's no baseline for it; the other randomly crashes. And it did so at
commit adb814cc titled "riscv: Fix trap handling" so I have no idea what's up.
10 lines
149 B
C
10 lines
149 B
C
/* test for presence of __riscv_flush_icache */
|
|
|
|
#include <sys/cachectl.h>
|
|
|
|
int main ()
|
|
{
|
|
__riscv_flush_icache(&main, 512, 0);
|
|
return 104;
|
|
}
|