https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79879
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Please report this to MinGW and Cygwin projects (separately). IIRC mingw has a corrected version of scanf now. Cygwin uses newlib and not MSVCRT.