+2020-04-17 Richard Biener <rguenther@suse.de>
+
+ PR other/94629
+ * cgraphclones.c (cgraph_node::create_clone): Remove duplicate
+ initialization.
+ * dwarf2out.c (dw_val_equal_p): Fix pasto in
+ dw_val_class_vms_delta comparison.
+ * optabs.c (expand_binop_directly): Fix pasto in commutation
+ check.
+ * tree-ssa-sccvn.c (vn_reference_lookup_pieces): Fix pasto in
+ initialization.
+
2020-04-17 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/94618
new_node->tp_first_run = tp_first_run;
new_node->tm_clone = tm_clone;
new_node->icf_merged = icf_merged;
- new_node->merged_comdat = merged_comdat;
new_node->thunk = thunk;
new_node->unit_id = unit_id;
new_node->merged_comdat = merged_comdat;
case dw_val_class_vms_delta:
return (!strcmp (a->v.val_vms_delta.lbl1, b->v.val_vms_delta.lbl1)
- && !strcmp (a->v.val_vms_delta.lbl1, b->v.val_vms_delta.lbl1));
+ && !strcmp (a->v.val_vms_delta.lbl2, b->v.val_vms_delta.lbl2));
case dw_val_class_discr_value:
return (a->v.val_discr_value.pos == b->v.val_discr_value.pos
commutative_p = commutative_optab_p (binoptab);
if (commutative_p
&& GET_MODE (xop0) != xmode0 && GET_MODE (xop1) != xmode1
- && GET_MODE (xop0) == xmode1 && GET_MODE (xop1) == xmode1)
+ && GET_MODE (xop0) == xmode1 && GET_MODE (xop1) == xmode0)
std::swap (xop0, xop1);
/* If we are optimizing, force expensive constants into a register. */
= valueize_refs (shared_lookup_references);
vr1.type = type;
vr1.set = set;
- vr1.set = base_set;
+ vr1.base_set = base_set;
vr1.hashcode = vn_reference_compute_hash (&vr1);
if ((cst = fully_constant_vn_reference_p (&vr1)))
return cst;