aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2012-07-24 10:51:11 +0000
committerUros Bizjak <ubizjak@gmail.com>2012-07-24 10:51:11 +0000
commit5dbc163c3e1eb482a26ea351a960c52f1954446c (patch)
treede403c8c02f12218a2c27b4d29241209b5df425f /gcc/lto
parentaea3c8e32efb439cf33287403e306c5b269bfd6a (diff)
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. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@189804 138bc75d-0d04-0410-961f-82ee72b054a4
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. */
};