Hi, A warning that this version has the bug as described and fixed by Georg below. The fix was targeted for 4.6.2
[avr]: call-prologues saving/restoring global register variables http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50289 avr-gcc 4.5.3 is in: Debian: wheezy(testing) and sid(unstable) Ubuntu: oneiric(current release) and precise(next release) Compiling without -mcall-prologues appears to be fine. I had no problems with 4.3.5 and since this bug can result in erratic behaviour (R7 global register is saved/restored by prolog/epilog when it shouldn't be), I was wondering whether there are any thoughts on the best action. Either backport the fix to 4.5.x or move ahead to 4.6.x. Opinions? -- Regards Dale _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-gcc-list