Re: [PATCH] Remove dead code and function

2021-11-25 Thread Jan Hubicka via Gcc-patches
> The only use of get_alias_symbol is gated by a gcc_unreachable (), > so the following patch gets rid of it. > > Bootstrapped and tested on x86_64-unknown-linux-gnu, OK? OK, thanks! Honza

[PATCH] Remove dead code and function

2021-11-25 Thread Richard Biener via Gcc-patches
The only use of get_alias_symbol is gated by a gcc_unreachable (), so the following patch gets rid of it. Bootstrapped and tested on x86_64-unknown-linux-gnu, OK? Thanks, Richard. 2021-11-24 Richard Biener * cgraphunit.c (symbol_table::output_weakrefs): Remove unreachable ini