varpool: do not add NULL vnodes to referenced
authorAlexandre Oliva <oliva@adacore.com>
Thu, 29 Dec 2022 17:32:48 +0000 (14:32 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Thu, 29 Dec 2022 17:32:48 +0000 (14:32 -0300)
commit50a0270389925e0b3d82b025d48f702fdab542f6
tree5a96f46a823c1b6c501c9e0e159b8f8b20be2283
parent26be8b84603be48d1cf35bea3be2bb398f7964b7
varpool: do not add NULL vnodes to referenced

Avoid adding NULL vnodes to referenced tables.

for  gcc/ChangeLog

* varpool.cc (symbol_table::remove_unreferenced_decls): Do not
add NULL vnodes to referenced table.
gcc/varpool.cc