summaryrefslogtreecommitdiff
path: root/include/partition.h
diff options
context:
space:
mode:
authorRichard Earnshaw <Richard.Earnshaw@arm.com>2015-04-17 16:10:43 +0100
committerRichard Earnshaw <Richard.Earnshaw@arm.com>2015-04-17 16:13:43 +0100
commita4ea36c6cb13d100aacab3a90762597cef471b35 (patch)
tree8d14e5a1f099a3fe1e004d7513462204b3923561 /include/partition.h
parenta2d5a9d76f2366ed93095fc5a63eafa06b22f808 (diff)
Merge include/partition.h from GCC.
2015-03-19 Richard Biener <rguenther@suse.de> * partition.h (struct partition_elem): Re-order elements to avoid padding.
Diffstat (limited to 'include/partition.h')
-rw-r--r--include/partition.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/partition.h b/include/partition.h
index 53d127eafc3..c39873b6016 100644
--- a/include/partition.h
+++ b/include/partition.h
@@ -1,5 +1,5 @@
/* List implementation of a partition of consecutive integers.
- Copyright (C) 2000-2015 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
Contributed by CodeSourcery, LLC.
This file is part of GCC.
@@ -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;