http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59617
--- Comment #16 from Yukhin Kirill <kirill.yukhin at intel dot com> --- (In reply to Dominique d'Humieres from comment #15) > 19:02:01.000000000 +0100 > +++ gcc/testsuite/gcc.target/i386/avx512f-gather-5.c 2014-04-03 > 15:17:05.000000000 +0200 > @@ -1,5 +1,6 @@ > /* { dg-do compile } */ > /* { dg-options "-O3 -mavx512f" } */ > +/* { dg-additional-options "-std=c99" { target *-*-darwin* } } */ > > #include "avx512f-gather-4.c" Then I think we need to add such a line in all files with __restrict keyword.