[Bug c/80341] gcc miscompiles division of signed char

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Apr 6 12:51:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80341

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-04-06
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
hmm, get_unwidened ((int) (short unsigned int) c) returns c?!  I wonder if
that's by design...


More information about the Gcc-bugs mailing list