http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59617
--- Comment #12 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- > Maybe simply do: > #ifdef __restrict > #undef __restrict > > In some common header (say, avx512f-check.h)? It works (added in avx512f-check.h, with a #endif!-). It would probably require a comment referring to darwin.