PR debug/41473
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 Dec 2009 16:55:12 +0000 (16:55 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 Dec 2009 16:55:12 +0000 (16:55 +0000)
commitab308ec7089c8e9ff0d7055b71699b645d3b9ca4
treedcda67d4f613a7e3844e5df9b0bbe883b6d92351
parent16fcf0f4b99d7108361992bb3f282216e0a0e150
PR debug/41473
* dwarf2out.c (add_var_loc_to_decl): Don't drop initial empty
locations.
(new_loc_list): Drop gensym arg.  Move generation of ll_symbol...
(gen_llsym): ... here.  New function.
(add_loc_descr_to_loc_list): Removed.
(loc_descriptor): Infer mode from CONST_DOUBLEs and CONST_VECTORs.
(single_element_loc_list): Removed.
(dw_loc_list): Don't create entries without a location.  Don't
special-case the first node of the list, only single nodes.
(single_element_loc_list_p): Simplify.
(loc_list_from_tree): Don't use DECL_RTL if loc_list is nonempty.
(add_location_or_const_value_attribute): Test var loc for NULL.
(convert_cfa_to_fb_loc_list): Adjust calls to new new_loc_list,
call gen_llsym if needed.

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