https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90929
Dragan Mladjenovic <dragan.mladjeno...@rt-rk.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dragan.mladjeno...@rt-rk.co | |m --- Comment #2 from Dragan Mladjenovic <dragan.mladjeno...@rt-rk.com> --- For mips64-linux-gnuabi64 the backend emits the direct call to libc's _flush_cache so the __clear_cache is never used. This test invokes __clear_cache explicitly, but there is another issue in that llvm will use __clear_cache libcall for __builtin___clear_cache on mips, so it won't work unless you ship/link the compiler_rt along with it.