]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libcc1/plugin.cc
tree.h (TYPE_ALIGN, DECL_ALIGN): Return shifted amount.
[thirdparty/gcc.git] / libcc1 / plugin.cc
index 57fca7c9a7ba8d9541ab5e30fe920b0a1d1ca2de..44d0d607022d6e9bc86154d2ba8fc0f61ade4823 100644 (file)
@@ -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);