From: Richard Biener Date: Thu, 19 Mar 2015 11:44:08 +0000 (+0000) Subject: partition.h (struct partition_elem): Re-order elements to avoid padding. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4c5c36d495fc500eb69e19db0487c78a3127f3d8;p=gcc.git 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 --- 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;