2017-07-05 Richard Sandiford <richard.sandiford@linaro.org>
libcc1/
* libcp1plugin.cc (plugin_build_field): Use SET_DECL_MODE.
From-SVN: r250004
+2017-07-05 Richard Sandiford <richard.sandiford@linaro.org>
+
+ * libcp1plugin.cc (plugin_build_field): Use SET_DECL_MODE.
+
2017-06-30 Nathan Sidwell <nathan@acm.org>
* libcp1plugin.cc (plugin_build_decl): Use make_conv_op_name.
= c_build_bitfield_integer_type (bitsize, TYPE_UNSIGNED (field_type));
}
- DECL_MODE (decl) = TYPE_MODE (TREE_TYPE (decl));
+ SET_DECL_MODE (decl, TYPE_MODE (TREE_TYPE (decl)));
// There's no way to recover this from DWARF.
SET_DECL_OFFSET_ALIGN (decl, TYPE_PRECISION (pointer_sized_int_node));