diff options
Diffstat (limited to 'libcc1/plugin.cc')
-rw-r--r-- | libcc1/plugin.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcc1/plugin.cc b/libcc1/plugin.cc index 0ea912f..5980b8b 100644 --- a/libcc1/plugin.cc +++ b/libcc1/plugin.cc @@ -511,7 +511,7 @@ plugin_build_add_field (cc1_plugin::connection *, = 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)); |