re PR debug/19124 (gcc generates incorrect dwarf2 debug info)
authorDaniel Berlin <dberlin@dberlin.org>
Thu, 20 Jan 2005 20:09:22 +0000 (20:09 +0000)
committerDaniel Berlin <dberlin@gcc.gnu.org>
Thu, 20 Jan 2005 20:09:22 +0000 (20:09 +0000)
commit3c46c513c2008d845cf09642aef08b78b1d2f226
tree302dada6aafe211b1bea0e17a54e27a3d262111d
parent23ab2e4e18a866eee66c4576b4a7f98c1124cbf4
re PR debug/19124 (gcc generates incorrect dwarf2 debug info)

2005-01-20  Daniel Berlin  <dberlin@dberlin.org>

Fix PR debug/19124
* dwarf2out.c (concat_loc_descriptor): We don't know we can use
fbreg, so we have to assume we can't.
(loc_descriptor_from_tree_1): Ditto.
(containing_function_has_frame_base): New function.
(add_location_or_const_value_attribute): Use it.
Also try to generate a frame_base from a single element location
list.

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