dwarf2out.c (mem_loc_descriptor): Use DW_OP_deref_size if MEM's mode size isn't DWARF...
authorJakub Jelinek <jakub@redhat.com>
Thu, 11 Feb 2010 09:16:38 +0000 (10:16 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 11 Feb 2010 09:16:38 +0000 (10:16 +0100)
commitd2d36740c2c8901e566dbbcc02ca5bbe51480fd7
treeb4b9202097a00bfa81aef5c991f2958714f535cd
parent19030d779a0d27dbdf3f774a15137cec8f4a1550
dwarf2out.c (mem_loc_descriptor): Use DW_OP_deref_size if MEM's mode size isn't DWARF2_ADDR_SIZE.

* dwarf2out.c (mem_loc_descriptor) <case MEM>: Use DW_OP_deref_size
if MEM's mode size isn't DWARF2_ADDR_SIZE.
(mem_loc_descriptor) <do_scompare>: Allow also VOIDmode arguments.
Optimize eq/ne comparisons when both arguments are known to be
zero-extended.
(mem_loc_descriptor) <do_ucompare>: Allow also VOIDmode arguments.
Don't mask operands unnecessarily if they are known to be already
zero-extended.

From-SVN: r156692
gcc/ChangeLog
gcc/dwarf2out.c