calls.c: Remove some dead code and target hooks
authorAlex Coplan <alex.coplan@arm.com>
Wed, 20 Oct 2021 20:02:52 +0000 (21:02 +0100)
committerAlex Coplan <alex.coplan@arm.com>
Wed, 20 Oct 2021 20:02:52 +0000 (21:02 +0100)
commit788483f77de04515b0b72d3c4c841c37b005f404
treea68ff430191608ddc20a1a7a7f831893b5bc629f
parent4ba4b053151a20262d4b61eb4501aa1c48337abb
calls.c: Remove some dead code and target hooks

Looking at calls.c:initialize_argument_information, I spotted some dead
code that seems to have been left behind from when MPX support was
removed.

This change removes that code as well as the associated target hooks
(which appear to be unused).

gcc/ChangeLog:

* calls.c (initialize_argument_information): Remove some dead
code, remove handling for function_arg returning const_int.
* doc/tm.texi: Delete documentation for unused target hooks.
* doc/tm.texi.in: Likewise.
* target.def (load_bounds_for_arg): Delete.
(store_bounds_for_arg): Delete.
(load_returned_bounds): Delete.
(store_returned_bounds): Delete.
* targhooks.c (default_load_bounds_for_arg): Delete.
(default_store_bounds_for_arg): Delete.
(default_load_returned_bounds): Delete.
(default_store_returned_bounds): Delete.
* targhooks.h (default_load_bounds_for_arg): Delete.
(default_store_bounds_for_arg): Delete.
(default_load_returned_bounds): Delete.
(default_store_returned_bounds): Delete.
gcc/calls.c
gcc/doc/tm.texi
gcc/doc/tm.texi.in
gcc/target.def
gcc/targhooks.c
gcc/targhooks.h