[Bug middle-end/86996] [9 regression] gcc.dg/tree-ssa/builtin-sprintf-warn-1.c FAILs

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Aug 17 18:52:00 GMT 2018


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).


More information about the Gcc-bugs mailing list