summaryrefslogtreecommitdiff
path: root/gcc/lto
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2012-07-24 12:51:11 +0200
committerUros Bizjak <uros@gcc.gnu.org>2012-07-24 12:51:11 +0200
commit0229aee998dd42467174237fb49dc899fe1a0478 (patch)
treede403c8c02f12218a2c27b4d29241209b5df425f /gcc/lto
parent7aa6d18a7c51ff7b19149d1e03db839b6b1033dc (diff)
downloadgcc-0229aee998dd42467174237fb49dc899fe1a0478.tar.gz
lto-tree.h (lang_decl): Add variable_size GTY option.
gcc/lto/ChangeLog: 2012-07-24 Uros Bizjak <ubizjak@gmail.com> * lto-tree.h (lang_decl): Add variable_size GTY option. gcc/go/ChangeLog: 2012-07-24 Uros Bizjak <ubizjak@gmail.com> * go-lang.c (lang_decl): Add variable_size GTY option. gcc/c/ChangeLog: 2012-07-24 Uros Bizjak <ubizjak@gmail.com> * c-lang.h (lang_decl): Add variable_size GTY option. From-SVN: r189804
Diffstat (limited to 'gcc/lto')
-rw-r--r--gcc/lto/ChangeLog4
-rw-r--r--gcc/lto/lto-tree.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog
index 676a38824ed..c0ff256f3da 100644
--- a/gcc/lto/ChangeLog
+++ b/gcc/lto/ChangeLog
@@ -1,3 +1,7 @@
+2012-07-24 Uros Bizjak <ubizjak@gmail.com>
+
+ * lto-tree.h (lang_decl): Add variable_size GTY option.
+
2012-07-16 Steven Bosscher <steven@gcc.gnu.org>
* lto.c: Do not include timevar.h.
diff --git a/gcc/lto/lto-tree.h b/gcc/lto/lto-tree.h
index 847348c7253..c29898d4254 100644
--- a/gcc/lto/lto-tree.h
+++ b/gcc/lto/lto-tree.h
@@ -28,7 +28,7 @@ struct GTY(()) lang_identifier
struct tree_identifier base;
};
-struct GTY(()) lang_decl
+struct GTY((variable_size)) lang_decl
{
int dummy; /* Added because ggc does not like empty structs. */
};