summaryrefslogtreecommitdiff
path: root/libcc1/plugin.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libcc1/plugin.cc')
-rw-r--r--libcc1/plugin.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcc1/plugin.cc b/libcc1/plugin.cc
index 57fca7c9a7b..44d0d607022 100644
--- a/libcc1/plugin.cc
+++ b/libcc1/plugin.cc
@@ -553,8 +553,8 @@ plugin_finish_record_or_union (cc1_plugin::connection *,
{
// FIXME there's no way to get this from DWARF,
// or even, it seems, a particularly good way to deduce it.
- TYPE_ALIGN (record_or_union_type)
- = TYPE_PRECISION (pointer_sized_int_node);
+ SET_TYPE_ALIGN (record_or_union_type,
+ TYPE_PRECISION (pointer_sized_int_node));
TYPE_SIZE (record_or_union_type) = bitsize_int (size_in_bytes
* BITS_PER_UNIT);