diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2019-10-10 15:04:44 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2019-10-10 13:04:44 +0000 |
commit | 019f36a648fd3f35e562eb7ddd3ff6393b30b4c7 (patch) | |
tree | 3bccfeacaa19816afb231f29ac6f6a4f55cf7b36 /gcc/toplev.c | |
parent | 9142736ee21629b159504a474f686cabb1612579 (diff) | |
download | gcc-019f36a648fd3f35e562eb7ddd3ff6393b30b4c7.zip gcc-019f36a648fd3f35e562eb7ddd3ff6393b30b4c7.tar.gz gcc-019f36a648fd3f35e562eb7ddd3ff6393b30b4c7.tar.bz2 |
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
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 2 |
1 files changed, 1 insertions, 1 deletions
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> ()) symbol_table (); + symtab = new (ggc_alloc <symbol_table> ()) symbol_table (); statistics_early_init (); debuginfo_early_init (); |