In gcc-5/changes.html the section about __has_include and __has_include_next says:
The header search paths for __has_include_next and __has_include_next are equivalent to those of the standard directive #include and the extension #include_next respectively. I think the first __has_include_next should be an __has_include. /MF