aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2010-05-12 12:05:16 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2010-05-12 10:05:16 +0000
commit33e42d568d6b5ddeffdea224cb763471cdf3ba1c (patch)
treed9c25e9abf6b95693174a0f69151d094ffba4561 /gcc/lto
parent0e8751ab1873aef4361686f257c207b4d564b878 (diff)
downloadgcc-33e42d568d6b5ddeffdea224cb763471cdf3ba1c.zip
gcc-33e42d568d6b5ddeffdea224cb763471cdf3ba1c.tar.gz
gcc-33e42d568d6b5ddeffdea224cb763471cdf3ba1c.tar.bz2
* lto.c (materialize_cgraph): Revert my previous patch.
From-SVN: r159305
Diffstat (limited to 'gcc/lto')
-rw-r--r--gcc/lto/ChangeLog4
-rw-r--r--gcc/lto/lto.c3
2 files changed, 4 insertions, 3 deletions
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog
index 0cfd5be..ff33788 100644
--- a/gcc/lto/ChangeLog
+++ b/gcc/lto/ChangeLog
@@ -1,3 +1,7 @@
+2010-05-11 Jan Hubicka <jh@suse.cz>
+
+ * lto.c (materialize_cgraph): Revert my previous patch.
+
2010-05-11 Kai Tietz <kai.tietz@onevision.com>
* lto-coff.c (IMAGE_FILE_MACHINE_ADM64): Rename to
diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c
index a2a2b68..438cf3c 100644
--- a/gcc/lto/lto.c
+++ b/gcc/lto/lto.c
@@ -1708,9 +1708,6 @@ materialize_cgraph (void)
for (i = 0; VEC_iterate (tree, lto_global_var_decls, i, decl); i++)
rest_of_decl_compilation (decl, 1, 0);
- VEC_free (tree, gc, lto_global_var_decls);
- lto_global_var_decls = NULL;
-
if (!quiet_flag)
fprintf (stderr, "\n");