From 4c5c36d495fc500eb69e19db0487c78a3127f3d8 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Thu, 19 Mar 2015 11:44:08 +0000 Subject: [PATCH] partition.h (struct partition_elem): Re-order elements to avoid padding. 2015-03-19 Richard Biener * partition.h (struct partition_elem): Re-order elements to avoid padding. From-SVN: r221514 --- include/ChangeLog | 5 +++++ include/partition.h | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/include/ChangeLog b/include/ChangeLog index bd072ae59b4..e9a51a7a30b 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2015-03-19 Richard Biener + + * partition.h (struct partition_elem): Re-order elements to + avoid padding. + 2015-03-02 Markus Trippelsdorf PR target/65261 diff --git a/include/partition.h b/include/partition.h index d8b554f8f9a..c39873b6016 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; -- 2.30.2