https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86996
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-08-17 Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> --- Confirmed. On Solaris, wint_t is signed but on Linux it's unsigned, so (wint_t)'\x80' (which is what the test uses) is treated differently between the two. The failed assertion is fallout from the change to the sprintf pass (r263612).