https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89979
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- LLVM's libc++ does not go into the 0 loop but still does not do a good job: 4294967295 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 4294967295 1 0 0 0 0 0 4294967295 4294967295 1 0 0 0 0 4294967295 4294967295 4294967295 1 0 0 0 4294967295 4294967295 4294967295 4294967294 0 0 0 4294967295 4294967295 4294967295 4294967294 4294967295 0 0 4294967295 4294967295 4294967295 4294967294 4294967295 4294967295 0 4294967295 4294967295 4294967295 4294967294 4294967295 4294967295 4294967294 0 4294967295 4294967295 4294967294 4294967295 4294967295 4294967294 0 0 4294967295 4294967294 4294967295 4294967295 4294967294 0 0 0 4294967294 4294967295 4294967295 4294967294 0 0 4294967295 1 While libstdc++ does seems to get into a loop: 4294967295 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 3 0 0 0 0 0 0 0 0 4 0 0 0 0 0 0 0 0 5 0 0 0 0 0 0 0 0 6 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 3 0 0 0 0 0 0 0 0 4