From 019f36a648fd3f35e562eb7ddd3ff6393b30b4c7 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Thu, 10 Oct 2019 15:04:44 +0200 Subject: re PR middle-end/92037 (LTO bootstrap broken in selftests) 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. From-SVN: r276804 --- gcc/toplev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/toplev.c') diff --git a/gcc/toplev.c b/gcc/toplev.c index d741a66..b85d52c 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 (); + symtab = new (ggc_alloc ()) symbol_table (); statistics_early_init (); debuginfo_early_init (); -- cgit v1.1