re PR debug/49382 (-O2 -g: DW_AT_location at the very first PC is already modified)
authorJakub Jelinek <jakub@redhat.com>
Wed, 15 Jun 2011 09:56:33 +0000 (11:56 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 15 Jun 2011 09:56:33 +0000 (11:56 +0200)
commitba45cfc48b59e577302d5d08f98a866344fbe850
tree8ef405eabe93d961cd8fbfbd078c16a00c8fe86b
parent6fc5966fe8f81fb8b89f4268d52f488e81c257aa
re PR debug/49382 (-O2 -g: DW_AT_location at the very first PC is already modified)

PR debug/49382
* dwarf2out.c (dw_loc_list_node): Add force field.
(add_var_loc_to_decl): For PARM_DECL, attempt to keep
the incoming location in the list, even if it is modified
before first real insn.
(output_loc_list): Emit empty ranges with force flag set.
(dw_loc_list): If first range of a PARM_DECL is empty,
set force flag.

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