https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66466
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- GCC is correct here. You should report this to cygwin as it is their headers which is causing issues.