* config/iq2000/iq2000.c (iq2000_rtx_costs): Avoid multiplication
in boolean context warning.
From-SVN: r242787
2016-11-23 Jeff Law <law@redhat.com>
+ * config/iq2000/iq2000.c (iq2000_rtx_costs): Avoid multiplication
+ in boolean context warning.
+
* config/ia64/ia64.c (ia64_emit_insn_before): Fix prototype.
2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
int num_words = (GET_MODE_SIZE (mode) > UNITS_PER_WORD) ? 2 : 1;
if (simple_memory_operand (x, mode))
- return COSTS_N_INSNS (num_words);
+ return COSTS_N_INSNS (num_words) != 0;
* total = COSTS_N_INSNS (2 * num_words);
break;