diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/c-lang.h | 2 | ||||
-rw-r--r-- | gcc/lto/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/lto/lto-tree.h | 2 |
4 files changed, 10 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 624a773..0bdcf13 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2010-09-15 Laurynas Biveinis <laurynas.biveinis@gmail.com> + + * c-lang.h (struct lang_type): Add variable_size GTY option. + 2010-09-14 H.J. Lu <hongjiu.lu@intel.com> PR bootstrap/45672 diff --git a/gcc/c-lang.h b/gcc/c-lang.h index c0bdc7c..4fe1835 100644 --- a/gcc/c-lang.h +++ b/gcc/c-lang.h @@ -24,7 +24,7 @@ along with GCC; see the file COPYING3. If not see #include "c-family/c-common.h" #include "ggc.h" -struct GTY(()) lang_type { +struct GTY((variable_size)) 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; /* In an ENUMERAL_TYPE, the min and max values. */ diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index d719217..5e4955b 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,3 +1,7 @@ +2010-09-15 Laurynas Biveinis <laurynas.biveinis@gmail.com> + + * lto-tree.h (struct lang_type): Add variable_size GTY option. + 2010-09-08 Jan Hubicka <jh@suse.cz> * lto.c (real_file_count, real_file_decl_data): New static vars. diff --git a/gcc/lto/lto-tree.h b/gcc/lto/lto-tree.h index 671fa4a..d6d3ee4 100644 --- a/gcc/lto/lto-tree.h +++ b/gcc/lto/lto-tree.h @@ -33,7 +33,7 @@ struct GTY(()) lang_decl int dummy; /* Added because ggc does not like empty structs. */ }; -struct GTY(()) lang_type +struct GTY((variable_size)) lang_type { int dummy; /* Added because ggc does not like empty structs. */ }; |