Re: [PATCH] Fix DW_OP_GNU_entry_value handling in .debug_loc duplicate removal

2011-03-25 Thread Richard Henderson
On 03/25/2011 03:59 AM, Jakub Jelinek wrote: > * dwarf2out.c (mem_loc_descriptor) : Compare > mode size instead of bitsize with DWARF2_ADDR_SIZE. > (hash_loc_operands, compare_loc_operands): Handle > DW_OP_GNU_entry_value. Ok. r~

[PATCH] Fix DW_OP_GNU_entry_value handling in .debug_loc duplicate removal

2011-03-25 Thread Jakub Jelinek
Hi! While working on a patch I'll post momentarily, I've noticed two issues: 1) DW_OP_GNU_entry_value wasn't being handled by hash_loc_operands/compare_loc_operands, which means different entry values could be considered the same and a wrong location list could be used; the entry value pa