------- Comment #2 from darkdragon2000 at hotmail dot com 2010-08-12 17:52 ------- It's not a bug in the handler since when the interrupt fires at the point when the stack pointer is invalid (right after 0x50c), the program counter gets pushed onto the stack, which is an invalid location.
When I tried to submit a report with the vendor, they pointed me back here. Maybe this should go to AVRLiBC? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45264