On Tue, Jun 24, 2025 at 10:06 AM Thomas Otto <thomas.o...@pdv-fs.de> wrote: > > Erroneously changed when converting dwarf2out to the new inchash > interface (f768061c4c0). The other hash_loc_operands calls > were left in place.
OK. Thanks, Richard. > gcc/Changelog: > * dwarf2out.cc (hash_loc_operands): do not hash pointer > --- > gcc/dwarf2out.cc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gcc/dwarf2out.cc b/gcc/dwarf2out.cc > index d1a55dbcbcb..63db76fca27 100644 > --- a/gcc/dwarf2out.cc > +++ b/gcc/dwarf2out.cc > @@ -31913,7 +31913,7 @@ hash_loc_operands (dw_loc_descr_ref loc, > inchash::hash &hstate) > break; > case DW_OP_entry_value: > case DW_OP_GNU_entry_value: > - hstate.add_object (val1->v.val_loc); > + hash_loc_operands (val1->v.val_loc, hstate); > break; > case DW_OP_regval_type: > case DW_OP_deref_type: > -- > 2.47.2