]> git.ipfire.org Git - thirdparty/gcc.git/commit
Relax ADDR_SPACE_GENERIC_P checks for default address space hooks
authorRichard Henderson <rth@redhat.com>
Wed, 21 Oct 2015 20:34:47 +0000 (13:34 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 21 Oct 2015 20:34:47 +0000 (13:34 -0700)
commit0f16c5729bfc4a9939578feb7e319f41c7dd9b41
tree1d760d175ded09b634db1ebadfcfa055214ca9bf
parent2e44cd8b00ffeabf4a8ec8683ef97802bf9a9345
Relax ADDR_SPACE_GENERIC_P checks for default address space hooks

If all address spaces use the same modes and forms, we would
be forced to replicate these hooks in the backend.  Which would
then require the creation of a new hook to replace
target_default_pointer_address_modes_p.

* targhooks.c (default_addr_space_pointer_mode): Remove check
for generic address space.
(default_addr_space_address_mode): Likewise.
(default_addr_space_valid_pointer_mode): Likewise.
(default_addr_space_legitimate_address_p): Likewise.
(default_addr_space_legitimize_address): Likewise.

From-SVN: r229143
gcc/ChangeLog
gcc/targhooks.c