Bug#491399: /usr/bin/avr-gcc: calling functions with division from an isr

2008-07-19 Thread Hakan Ardo
Hi, in a realtime system, this kind of behaviour can be caused by a lot of things and it's not at all clear that it's the compiler. If you are possitive it's the compiler I would suggest that you file an upstream bug-repport as describe in: /usr/share/doc/gcc-4.3/README.Bugs On Sat, Jul 19, 200

Bug#491399: /usr/bin/avr-gcc: calling functions with division from an isr

2008-07-19 Thread Jasen Betts
Package: gcc-avr Version: 1:4.3.0-2 Severity: important File: /usr/bin/avr-gcc I put a small piece of code that does uint8_t division (modulo (%) operator actually) in a function and called it from an isr this worked fine until I started making heavy use of modulo and division in the main part o