]> git.ipfire.org Git - thirdparty/gcc.git/commit
Remove dead code and function
authorRichard Biener <rguenther@suse.de>
Wed, 24 Nov 2021 14:57:03 +0000 (15:57 +0100)
committerRichard Biener <rguenther@suse.de>
Thu, 25 Nov 2021 13:23:44 +0000 (14:23 +0100)
commit4eda2eee0e1808b2b3a77afde3062e2cb9a24597
tree828b57050b666a62ab88a7ef554ea73fd4553244
parent8addb0b1279433de1e51a5ed4eb20a71bbd76f9f
Remove dead code and function

The only use of get_alias_symbol is gated by a gcc_unreachable (),
so the following patch gets rid of it.

2021-11-24  Richard Biener  <rguenther@suse.de>

* cgraphunit.c (symbol_table::output_weakrefs): Remove
unreachable init.
(get_alias_symbol): Remove now unused function.
gcc/cgraphunit.c