aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/ChangeLog5
-rw-r--r--include/partition.h6
2 files changed, 8 insertions, 3 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index bd072ae..e9a51a7 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,8 @@
+2015-03-19 Richard Biener <rguenther@suse.de>
+
+ * partition.h (struct partition_elem): Re-order elements to
+ avoid padding.
+
2015-03-02 Markus Trippelsdorf <markus@trippelsdorf.de>
PR target/65261
diff --git a/include/partition.h b/include/partition.h
index d8b554f..c39873b 100644
--- a/include/partition.h
+++ b/include/partition.h
@@ -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;