https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83861
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> --- Sscanf comes from libc. So in this case since you are on windows, it is either cygwin or mingw/Microsoft. Mingw uses Microsoft runtime directly for most things so it might be a bug in the Microsoft library and not related to gcc.