Commit 969c37b7 by Laurynas Biveinis Committed by Laurynas Biveinis

c-lang.h (struct lang_type): Add variable_size GTY option.


gcc/ChangeLog:

2010-09-14  Laurynas Biveinis  <laurynas.biveinis@gmail.com>

       * c-lang.h (struct lang_type): Add variable_size GTY option.

gcc/lto/ChangeLog:

2010-09-14  Laurynas Biveinis  <laurynas.biveinis@gmail.com>

       * lto-tree.h (struct lang_type): Add variable_size GTY option.

From-SVN: r164295
parent 1f2102bb
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> 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
PR bootstrap/45672 PR bootstrap/45672
......
...@@ -24,7 +24,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -24,7 +24,7 @@ along with GCC; see the file COPYING3. If not see
#include "c-family/c-common.h" #include "c-family/c-common.h"
#include "ggc.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. */ /* In a RECORD_TYPE, a sorted array of the fields of the type. */
struct sorted_fields_type * GTY ((reorder ("resort_sorted_fields"))) s; struct sorted_fields_type * GTY ((reorder ("resort_sorted_fields"))) s;
/* In an ENUMERAL_TYPE, the min and max values. */ /* In an ENUMERAL_TYPE, the min and max values. */
......
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> 2010-09-08 Jan Hubicka <jh@suse.cz>
* lto.c (real_file_count, real_file_decl_data): New static vars. * lto.c (real_file_count, real_file_decl_data): New static vars.
......
...@@ -33,7 +33,7 @@ struct GTY(()) lang_decl ...@@ -33,7 +33,7 @@ struct GTY(()) lang_decl
int dummy; /* Added because ggc does not like empty structs. */ 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. */ int dummy; /* Added because ggc does not like empty structs. */
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment