http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45697
--- Comment #4 from Evan Martin <evan at chromium dot org> 2011-07-11 22:38:49 UTC --- Sorry, I should have linked to the bug that prompted this bug report. http://code.google.com/p/skia/issues/detail?id=63 Briefly, the Skia library (used by Google Chrome and Android) has usage of restrict that Clang complains about. In trying to reduce the problem to a test case, I encountered the below inconsistency in gcc and thought I'd be a good citizen to file a bug. If the Skia code is just wrong by the spec, it's probably not worth changing gcc. The Skia usage of restrict presumably worked on some platform, or they wouldn't have checked it in. But perhaps it was ignored on those platforms anyway. I have asked on the Skia bug for more information. It seems likely to me this bug should be WONTFIXed.