The following patch re-orders elements to avoid 8 bytes of padding.

Bootstrapped on x86_64-unknown-linux-gnu, ok?

Thanks,
Richard.

2015-03-19  Richard Biener  <rguent...@suse.de>

        * partition.h (struct partition_elem): Re-order elements to
        avoid padding.

Index: include/partition.h
===================================================================
--- include/partition.h (revision 221490)
+++ include/partition.h (working copy)
@@ -45,12 +45,12 @@ extern "C" {
 
 struct partition_elem
 {
-  /* The canonical element that represents the class containing this
-     element.  */
-  int class_element;
   /* The next element in this class.  Elements in each class form a
      circular list.  */
   struct partition_elem* next;
+  /* The canonical element that represents the class containing this
+     element.  */
+  int class_element;
   /* The number of elements in this class.  Valid only if this is the
      canonical element for its class.  */
   unsigned class_count;

Reply via email to