Remove unused functions and fields.
authorMartin Liska <mliska@suse.cz>
Tue, 25 Sep 2018 07:13:40 +0000 (09:13 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 25 Sep 2018 07:13:40 +0000 (07:13 +0000)
commit72744f65a25d36f9cef92d3889ad3f9cb2d4b81e
treed13b9e077fd15eb7c7cfa4e50a39bd34ad21be58
parenta0464aa0c4a555aae0dbc0ecf586f768cf8cac6a
Remove unused functions and fields.

2018-09-25  Martin Liska  <mliska@suse.cz>

* alias.c (set_dest_equal_p): Remove unused function.
* config/i386/i386.c (def_builtin_pure2): Likewise.
* diagnostic-show-locus.c (class layout): Remove
unused field.
(layout::layout): Likewise here.
* dump-context.h (class temp_dump_context): Likewise.
* dwarf2out.c (add_AT_fde_ref): Remove unused function.
(add_AT_loclistsptr): Likewise.
(add_AT_offset): Likewise.
(get_AT_hi_pc): Likewise.
(is_comdat_die): Likewise.
(type_is_enum): Likewise.
(ceiling): Likewise.
(add_AT_vms_delta): Likewise.
(is_class_die): Likewise.
* edit-context.c (class line_event): Remove unused field.
* graphite-sese-to-poly.c (tree_int_to_gmp): Remove
unused function.
* ipa-cp.c (ipa_get_vr_lat): Likewise.
* lra-constraints.c (ok_for_index_p_nonstrict): Likewise.
(ok_for_base_p_nonstrict): Likewise.
* tree-chrec.c (is_not_constant_evolution): Likewise.
(chrec_fold_poly_cst): Likewise.
* tree-if-conv.c (has_pred_critical_p): Likewise.
* tree-ssa-coalesce.c (print_exprs): Likewise.
* tree-ssa-pre.c (bitmap_set_contains_expr): Likewise.
* tree-ssa-uninit.c (is_and_or_or_p): Likewise.
* tree-vrp.c (value_ranges_intersect_p): Likewise.
(value_range_nonnegative_p): Likewise.
2018-09-25  Martin Liska  <mliska@suse.cz>

* name-lookup.c (namespace_scope_ht_size): Remove
unused function.
* parser.c (cp_lexer_next_token_is_not_keyword): Likewise.
2018-09-25  Martin Liska  <mliska@suse.cz>

* trans.c (remove_suffix): Remove
unused function.
2018-09-25  Martin Liska  <mliska@suse.cz>

* gofrontend/escape.cc (Gogo::analyze_escape): Remove
usage of a parameter.
(Gogo::assign_connectivity): Likewise.
(class Escape_analysis_tag): Likewise.
(Gogo::tag_function): Likewise.
* gofrontend/expressions.cc (Call_expression::do_type): Likewise.
* gofrontend/gogo.h (class Gogo): Likewise.
* gofrontend/types.cc (class Call_multiple_result_type): Likewise.
(Type::make_call_multiple_result_type): Likewise.
* gofrontend/types.h (class Type): Likewise.
* gofrontend/wb.cc (class Check_escape): Likewise.
(Gogo::add_write_barriers): Likewise.

From-SVN: r264561
28 files changed:
gcc/ChangeLog
gcc/alias.c
gcc/config/i386/i386.c
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/cp/parser.c
gcc/diagnostic-show-locus.c
gcc/dump-context.h
gcc/dwarf2out.c
gcc/edit-context.c
gcc/fortran/ChangeLog
gcc/fortran/trans.c
gcc/go/ChangeLog
gcc/go/gofrontend/escape.cc
gcc/go/gofrontend/expressions.cc
gcc/go/gofrontend/gogo.h
gcc/go/gofrontend/types.cc
gcc/go/gofrontend/types.h
gcc/go/gofrontend/wb.cc
gcc/graphite-sese-to-poly.c
gcc/ipa-cp.c
gcc/lra-constraints.c
gcc/tree-chrec.c
gcc/tree-if-conv.c
gcc/tree-ssa-coalesce.c
gcc/tree-ssa-pre.c
gcc/tree-ssa-uninit.c
gcc/tree-vrp.c