Commit f5916470 by Richard Biener Committed by Richard Biener

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
parent a0f79fcc
2015-09-18 Richard Biener <rguenther@suse.de> 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 PR tree-optimization/66142
* fold-const.c (operand_equal_p): When OEP_ADDRESS_OF * fold-const.c (operand_equal_p): When OEP_ADDRESS_OF
treat MEM[&x] and x the same. treat MEM[&x] and x the same.
...@@ -16145,6 +16145,9 @@ add_location_or_const_value_attribute (dw_die_ref die, tree decl, bool cache_p, ...@@ -16145,6 +16145,9 @@ add_location_or_const_value_attribute (dw_die_ref die, tree decl, bool cache_p,
var_loc_list *loc_list; var_loc_list *loc_list;
cached_dw_loc_list *cache; cached_dw_loc_list *cache;
if (early_dwarf)
return false;
if (TREE_CODE (decl) == ERROR_MARK) if (TREE_CODE (decl) == ERROR_MARK)
return false; return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment