re PR debug/41439 (choose DW_OP_stack_value over DW_OP_implicit_value more often...
authorJakub Jelinek <jakub@redhat.com>
Wed, 23 Sep 2009 18:07:07 +0000 (20:07 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 23 Sep 2009 18:07:07 +0000 (20:07 +0200)
commitabab57efc6cf2982fd362638dfdf726830334d3b
tree3778747985d93fb372f79d56361aa9655317ae72
parent7168dc4708775024f33cfa33b1e86566591af8ac
re PR debug/41439 (choose DW_OP_stack_value over DW_OP_implicit_value more often, please)

PR debug/41439
* dwarf2out.c (address_of_int_loc_descriptor): Don't emit
DW_OP_piece after DW_OP_stack_value, adjust size calculations
for it, when DW_OP_stack_value and DW_OP_implicit_value has
the same size, prefer DW_OP_stack_value.
(loc_descriptor, loc_list_for_address_of_addr_expr_of_indirect_ref,
loc_list_from_tree): Don't emit DW_OP_piece after DW_OP_stack_value.

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