http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47920
Richard Earnshaw rearnsha at gcc dot gnu.org changed:
What|Removed |Added
Status|WAITING |RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47920
Ian Bolton ibolton at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
Last
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47920
--- Comment #1 from Mikael Pettersson mikpe at it dot uu.se 2011-02-28
09:56:36 UTC ---
Presumably because arithmetic right-shift by 3 isn't the same as a division by
8 when (a+7) is negative. Changing the types to unsigned gives the code you
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47920
Jakub Jelinek jakub at gcc dot gnu.org changed:
What|Removed |Added
CC||jakub at gcc dot
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47920
--- Comment #3 from Carrot carrot at google dot com 2011-03-01 06:44:47 UTC
---
(In reply to comment #1)
Presumably because arithmetic right-shift by 3 isn't the same as a division by
8 when (a+7) is negative. Changing the types to unsigned