All of this might not be a bug at all but an undefined work around for deficiencies in C++ primitive functions in the avr-gcc support library? To prevent one from using?
In the early days of avr-gcc, just plain C, not all support primitive functions were reentrant. If memory serves me, math functions on longs were dangerous. That not all registers were stacked on entry to the interrupt handler (that would be costly) and the compiler (and support library) assumed some registers were free to use without preserving across function calls. -- David Kelly N4HHE, dke...@hiwaay.net ============================================================ Whom computers would destroy, they must first drive mad.