aboutsummaryrefslogtreecommitdiff
path: root/gcc/c/c-lang.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c/c-lang.h')
-rw-r--r--gcc/c/c-lang.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/c/c-lang.h b/gcc/c/c-lang.h
index 872bd58..8ecafb3 100644
--- a/gcc/c/c-lang.h
+++ b/gcc/c/c-lang.h
@@ -22,6 +22,13 @@ along with GCC; see the file COPYING3. If not see
#include "c-family/c-common.h"
+/* In a RECORD_TYPE, a sorted array of the fields of the type, not a
+ tree for size reasons. */
+struct GTY(()) sorted_fields_type {
+ int len;
+ tree GTY((length ("%h.len"))) elts[1];
+};
+
struct GTY(()) lang_type {
/* In a RECORD_TYPE, a sorted array of the fields of the type. */
struct sorted_fields_type * GTY ((reorder ("resort_sorted_fields"))) s;