aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2019-10-10 13:04:44 +0000
committerJan Hubicka <hubicka@ucw.cz>2019-10-10 13:04:44 +0000
commit307d709c625ee930be344bc71778557a00888349 (patch)
tree3bccfeacaa19816afb231f29ac6f6a4f55cf7b36 /gcc/toplev.c
parent6e59245384999c1a6a0b677d95438211178fa665 (diff)
PR middle-end/92037
* cgraph.c (symbol_table_test::symbol_table_test): Use ggc_alloc rather than ggc_alloc_cleared to alloc symbol table. * toplev.c (general_init): Likewise. * cgraph.h (symbol_table): Explicitly construct every field. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@276804 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index d741a66f385..b85d52ca9b7 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -1170,7 +1170,7 @@ general_init (const char *argv0, bool init_signals)
/* Create the passes. */
g->set_passes (new gcc::pass_manager (g));
- symtab = new (ggc_cleared_alloc <symbol_table> ()) symbol_table ();
+ symtab = new (ggc_alloc <symbol_table> ()) symbol_table ();
statistics_early_init ();
debuginfo_early_init ();