We have found a bug using PVS-Studio tool. PVS-Studio is a static code analyzer for C, C++ and C#: https://www.viva64.com/en/pvs-studio/ Analyzer warning: V501 There are identical sub-expressions '!strcmp(a->v.val_vms_delta.lbl1, b->v.val_vms_delta.lbl1)' to the left and to the right of the '&&' operator. dwarf2out.c 1434 static bool dw_val_equal_p (dw_val_node *a, dw_val_node *b) { .... switch (a->val_class) { .... 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)); // <= .... } .... }
Confirmed.
Fixed with r10-7770-ga64468a3034dd8e2d0794a5be84b8da544ffe2c3