http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59617
--- Comment #17 from Uroš Bizjak <ubizjak at gmail dot com> --- (In reply to Iain Sandoe from comment #14) > (In reply to Dominique d'Humieres from comment #13) > > Another option would be to add -std=c99 for darwin. > > I would suggest that this is the Right Thing to do. There is quite some usage of __restrict in gcc.target/i386/ directory. Why doesn't this problem trigger with e.g. avx2-gather-4.c, which also uses __restrict?