dwarf2out.c (add_location_or_const_value_attribute): Do nothing in early-dwarf.
2015-09-18 Richard Biener <rguenther@suse.de> * dwarf2out.c (add_location_or_const_value_attribute): Do nothing in early-dwarf. From-SVN: r227899
This commit is contained in:
parent
a0f79fcc43
commit
f5916470c4
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2015-09-18 Richard Biener <rguenther@suse.de>
|
||||
|
||||
* dwarf2out.c (add_location_or_const_value_attribute): Do nothing
|
||||
in early-dwarf.
|
||||
|
||||
2015-09-18 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/66142
|
||||
|
|
|
@ -16145,6 +16145,9 @@ add_location_or_const_value_attribute (dw_die_ref die, tree decl, bool cache_p,
|
|||
var_loc_list *loc_list;
|
||||
cached_dw_loc_list *cache;
|
||||
|
||||
if (early_dwarf)
|
||||
return false;
|
||||
|
||||
if (TREE_CODE (decl) == ERROR_MARK)
|
||||
return false;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue