re PR middle-end/92037 (LTO bootstrap broken in selftests)
authorJan Hubicka <hubicka@ucw.cz>
Thu, 10 Oct 2019 13:04:44 +0000 (15:04 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 10 Oct 2019 13:04:44 +0000 (13:04 +0000)
commit019f36a648fd3f35e562eb7ddd3ff6393b30b4c7
tree3bccfeacaa19816afb231f29ac6f6a4f55cf7b36
parent9142736ee21629b159504a474f686cabb1612579
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/ChangeLog
gcc/cgraph.c
gcc/cgraph.h
gcc/toplev.c