[Bug target/56546] Using the divide operator on unsigned int produces incorrect code on AVR

2013-03-11 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56546 Georg-Johann Lay gjl at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |RESOLVED

[Bug target/56546] Using the divide operator on unsigned int produces incorrect code on AVR

2013-03-10 Thread kpet at free dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56546 --- Comment #2 from kpet at free dot fr 2013-03-10 17:23:18 UTC --- (In reply to comment #1) AVR has no divide instruction and / 60 is performed by a multiplication and some adjustment. Thank you for this explanation. gcc-4.7.2,

[Bug target/56546] Using the divide operator on unsigned int produces incorrect code on AVR

2013-03-07 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56546 Georg-Johann Lay gjl at gcc dot gnu.org changed: What|Removed |Added Target||avr