* dwarf2out.c (add_location_or_const_value_attribute): Do nothing
in early-dwarf.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227899
138bc75d-0d04-0410-961f-
82ee72b054a4
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
* fold-const.c (operand_equal_p): When OEP_ADDRESS_OF
treat MEM[&x] and x the same.
var_loc_list *loc_list;
cached_dw_loc_list *cache;
+ if (early_dwarf)
+ return false;
+
if (TREE_CODE (decl) == ERROR_MARK)
return false;