[PATCH] Clean up another MPX-related stuff.
Martin Liška
mliska@suse.cz
Wed Feb 13 05:53:00 GMT 2019
Hi.
As Honza noticed, there's still some leftover from MPX removal.
May I remove another bunch of fields now, or should I wait
for next stage1?
Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
Thanks,
Martin
gcc/ChangeLog:
2019-02-13 Martin Liska <mliska@suse.cz>
* builtins.h (expand_builtin_with_bounds): Remove declaration.
* calls.c (struct arg_data): Remove special_slot, pointer_arg
and pointer_offset fields.
(initialize_argument_information): Remove usage of dead
fields.
* cgraph.h (struct cgraph_thunk_info): Remove
add_pointer_bounds_args.
* cgraphunit.c (cgraph_node::expand_thunk): Remove usage of dead
fields.
(cgraph_node::assemble_thunks_and_aliases): Remove usage of dead
fields.
* config/i386/i386.c (ix86_function_arg_advance): Remove
unrelated comment.
(struct builtin_isa): Remove leaf_p and nothrow_p fields.
(def_builtin): Remove usage of dead
fields.
(ix86_add_new_builtins): Likewise.
* ipa-fnsummary.c (compute_fn_summary): Likewise.
* ipa-icf.c (sem_function::equals_wpa): Likewise.
(sem_function::init): Likewise.
(sem_variable::merge): Likewise.
* ipa-visibility.c (function_and_variable_visibility): Likewise.
* ipa.c (symbol_table::remove_unreachable_nodes): Likewise.
* lto-cgraph.c (lto_output_node): Likewise.
(lto_output_varpool_node): Likewise.
(input_node): Likewise.
(input_varpool_node): Likewise.
* lto-streamer-out.c (lto_output): Likewise.
* tree-inline.c (expand_call_inline): Remove usage of
assign_stmts.
* tree-inline.h (struct copy_body_data): Likewise.
* varpool.c (varpool_node::dump): Likewise.
---
gcc/builtins.h | 1 -
gcc/calls.c | 14 +-------------
gcc/cgraph.h | 7 -------
gcc/cgraphunit.c | 8 +-------
gcc/config/i386/i386.c | 13 -------------
gcc/ipa-fnsummary.c | 18 +-----------------
gcc/ipa-icf.c | 5 -----
gcc/ipa-visibility.c | 1 -
gcc/ipa.c | 6 ------
gcc/lto-cgraph.c | 6 +-----
gcc/lto-streamer-out.c | 3 +--
gcc/tree-inline.c | 2 --
gcc/tree-inline.h | 3 ---
gcc/varpool.c | 2 --
14 files changed, 5 insertions(+), 84 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Clean-up-MPX-related-stuff.patch
Type: text/x-patch
Size: 13275 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190213/b1ef5a13/attachment.bin>
More information about the Gcc-patches
mailing list