https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78977
--- Comment #13 from Hannes Hauswedell <h2+bugs at fsfe dot org> --- (In reply to Jakub Jelinek from comment #12) > So that looks like r244037 has fixed this bug. Please reopen if that is not > the case. Given Martin's description that > 2.99999999999999988897769753748434595763683319091796875e-1 could be printed > with %g as > 0.299999 or as 0.3 depending on rounding, assuming range [3, 8] is > reasonable, hardcoding return value of 8 is obviously wrong. Ok, great, then we will just wait. Otherwise I would have done more of the debugging, but I am also quite busy so we'll wait for the weekly snapshots!