* varasm.c (output_constant): Use fold_convert instead of
wide_int_to_tree.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227443
138bc75d-0d04-0410-961f-
82ee72b054a4
+2015-09-03 Richard Biener <rguenther@suse.de>
+
+ * varasm.c (output_constant): Use fold_convert instead of
+ wide_int_to_tree.
+
2015-09-03 Tom de Vries <tom@codesourcery.com>
PR tree-optimization/65637
exp = build1 (ADDR_EXPR, saved_type, TREE_OPERAND (exp, 0));
/* Likewise for constant ints. */
else if (TREE_CODE (exp) == INTEGER_CST)
- exp = wide_int_to_tree (saved_type, exp);
+ exp = fold_convert (saved_type, exp);
}