PR target/54476
* config/avr/avr.c (avr_expand_delay_cycles): Mask operand with
SImode.
From-SVN: r190920
+2012-09-04 Georg-Johann Lay <avr@gjlay.de>
+
+ PR target/54476
+ * config/avr/avr.c (avr_expand_delay_cycles): Mask operand with
+ SImode.
+
2012-09-04 Richard Guenther <rguenther@suse.de>
PR tree-optimization/54458
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;