2014-11-26 Richard Biener <rguenther@suse.de>
* gimple-fold.c (get_symbol_constant_value): Allow all
GIMPLE register type zero-constants.
From-SVN: r218076
-2014-11-25 Mark Wielaard <mjw@redhat.com>
+2014-11-26 Richard Biener <rguenther@suse.de>
+
+ * gimple-fold.c (get_symbol_constant_value): Allow all
+ GIMPLE register type zero-constants.
+
+2014-11-26 Mark Wielaard <mjw@redhat.com>
* dwarf2out.c (gen_subprogram_die): Add DW_AT_noreturn when the
function decl has TREE_THIS_VOLATILE.
have zero as the initializer if they may not be
overridden at link or run time. */
if (!val
- && (INTEGRAL_TYPE_P (TREE_TYPE (sym))
- || SCALAR_FLOAT_TYPE_P (TREE_TYPE (sym))))
+ && is_gimple_reg_type (TREE_TYPE (sym)))
return build_zero_cst (TREE_TYPE (sym));
}