http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190920 http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190921
Applied these obvious fix for PR54476. Johann -- Index: config/avr/avr.c =================================================================== --- config/avr/avr.c (revision 190914) +++ config/avr/avr.c (working copy) @@ -10449,7 +10449,7 @@ avr_mem_clobber (void) static void avr_expand_delay_cycles (rtx operands0) { - unsigned HOST_WIDE_INT cycles = UINTVAL (operands0); + unsigned HOST_WIDE_INT cycles = UINTVAL (operands0) & GET_MODE_MASK (SImode); unsigned HOST_WIDE_INT cycles_used; unsigned HOST_WIDE_INT loop_count;