https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107794
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Why do you think this is a bug? linux is defined somewhere, either by gcc or by the headers. I think it is predefined and disabled by using -std=c11.