https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99903
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Build|i686-w64-mingw32 | Status|UNCONFIRMED |WAITING Target|i686-w64-mingw32 | Ever confirmed|0 |1 Last reconfirmed| |2021-04-04 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I don't see anything wrong with the code. clock () is being used here. Maybe there is a bug in the implementation of clock where it is not always incrementing. Since it is random, maybe the problem is switching between the cores. Is there a way to bind GCC to a specific core and test again?