https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79293
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2017-01-30 Component|tree-optimization |testsuite Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- Confirmed. The following is the test case on line 724: RNG ( 3, 13, 14, "%Lg", 0.1L); It expects the call to sprintf ("%Lg", 0.1L) to return a value between 3 and 13 but on powerpc64 it returns between 3 and 4 bytes ("0.1" when the argument is rounded up and "0.0999999" when it's rounded down, with the decimal point taking resulting in between 1 and 6 bytes in multibyte locales). The test case needs to be relaxed for powerpc64. Let me take care of it.