+2016-08-11 Bin Cheng <bin.cheng@arm.com>
+
+ * config/aarch64/aarch64-simd.md (vec_cmp<mode><v_cmp_result>: Init
+ variable explicitly, also assert on it before use.
+
2016-08-11 Richard Biener <rguenther@suse.de>
PR tree-optimization/72772
enum rtx_code code = GET_CODE (operands[1]);
rtx tmp = gen_reg_rtx (<V_cmp_result>mode);
- rtx (*comparison) (rtx, rtx, rtx);
+ rtx (*comparison) (rtx, rtx, rtx) = NULL;
switch (code)
{
a UNLE b -> !(a GT b)
a UNLT b -> !(a GE b)
a NE b -> !(a EQ b) */
+ gcc_assert (comparison != NULL);
emit_insn (comparison (operands[0], operands[2], operands[3]));
emit_insn (gen_one_cmpl<v_cmp_result>2 (operands[0], operands[0]));
break;
a LE b -> b GE a
a LT b -> b GT a
a EQ b -> a EQ b */
+ gcc_assert (comparison != NULL);
emit_insn (comparison (operands[0], operands[2], operands[3]));
break;