OSDN Git Service

* dwarf2out.c (add_var_loc_to_decl): Add LABEL argument. Drop
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Apr 2010 07:05:00 +0000 (07:05 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Apr 2010 07:05:00 +0000 (07:05 +0000)
commit8c7e2a7b041e867134b637fb49017b4fccb12146
treed36a720d20ebd5b31bcb5f0f57b43d8c5abffc73
parent76a1250da80eb83b92d2b0a7db2b8441029bd4eb
* dwarf2out.c (add_var_loc_to_decl): Add LABEL argument.  Drop
last chain entry if it starts with the still current label.
(add_location_or_const_value_attribute): Check that
loc_list->first->next is NULL instead of comparing ->first with
->last.
(dwarf2out_var_location): Pass last_label resp. last_postcall_label
to add_var_loc_to_decl.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158590 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/dwarf2out.c