Follow-up Comment #1, bug #40003 (project avr-libc): Forgot to add an example:
In the case of wdt_enable(WDTO_15MS), the assembled output for targets such as the ATtiny85: ldi r18, 0x08 ldi r24, 0x18 ldi r25, 0x00 in r0, 0x3f cli wdr out 0x21, r24 out 0x3f, r0 out 0x21, r18 With the patch in place: ldi r25, 0x08 ldi r24, 0x18 in r0, 0x3f cli wdr out 0x21, r24 out 0x3f, r0 out 0x21, r25 _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?40003> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/ _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-libc-dev