2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-03-22 19:11:18 +08:00

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
This commit is contained in:
Laurynas Biveinis 2010-09-15 03:08:22 +00:00 committed by Laurynas Biveinis
parent 1f2102bbd0
commit 969c37b70d
4 changed files with 10 additions and 2 deletions

@ -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

@ -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. */

@ -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.

@ -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. */
};