aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@kernel.crashing.org>2016-09-14 12:49:42 +0200
committerSegher Boessenkool <segher@gcc.gnu.org>2016-09-14 12:49:42 +0200
commit1a267e530efa85d704278de942c6aa446261b4c0 (patch)
tree2676f5d34d78c504bfdfb1e6a7b54be90bf1c217 /gcc
parent794b71a4eed824840e3d07b90d3c7160c9e09419 (diff)
downloadgcc-1a267e530efa85d704278de942c6aa446261b4c0.zip
gcc-1a267e530efa85d704278de942c6aa446261b4c0.tar.gz
gcc-1a267e530efa85d704278de942c6aa446261b4c0.tar.bz2
Delete TARGET_LRA_P from those targets that set it to "true"
A few targets already always want LRA; those then do not need to override the default anymore. 2016-09-14 Segher Boessenkool <segher@kernel.crashing.org> * config/aarch64/aarch64.c (TARGET_LRA_P): Delete macro. * config/arm/arm.c (TARGET_LRA_P): Delete macro. * config/i386/i386.c (TARGET_LRA_P): Delete macro. * config/nds32/nds32.c (TARGET_LRA_P): Delete macro. From-SVN: r240132
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/aarch64/aarch64.c3
-rw-r--r--gcc/config/arm/arm.c3
-rw-r--r--gcc/config/i386/i386.c3
-rw-r--r--gcc/config/nds32/nds32.c3
5 files changed, 7 insertions, 12 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index bde68f9..2217c77 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,12 @@
2016-09-14 Segher Boessenkool <segher@kernel.crashing.org>
+ * config/aarch64/aarch64.c (TARGET_LRA_P): Delete macro.
+ * config/arm/arm.c (TARGET_LRA_P): Delete macro.
+ * config/i386/i386.c (TARGET_LRA_P): Delete macro.
+ * config/nds32/nds32.c (TARGET_LRA_P): Delete macro.
+
+2016-09-14 Segher Boessenkool <segher@kernel.crashing.org>
+
* targhooks.c (default_lra_p): Return true instead of false.
2016-09-14 Segher Boessenkool <segher@kernel.crashing.org>
diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
index 3fcfaa8..6078b16 100644
--- a/gcc/config/aarch64/aarch64.c
+++ b/gcc/config/aarch64/aarch64.c
@@ -14188,9 +14188,6 @@ aarch64_optab_supported_p (int op, machine_mode mode1, machine_mode,
#undef TARGET_LIBGCC_CMP_RETURN_MODE
#define TARGET_LIBGCC_CMP_RETURN_MODE aarch64_libgcc_cmp_return_mode
-#undef TARGET_LRA_P
-#define TARGET_LRA_P hook_bool_void_true
-
#undef TARGET_MANGLE_TYPE
#define TARGET_MANGLE_TYPE aarch64_mangle_type
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index 946f308..1183d45 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -355,9 +355,6 @@ static const struct attribute_spec arm_attribute_table[] =
#undef TARGET_LEGITIMIZE_ADDRESS
#define TARGET_LEGITIMIZE_ADDRESS arm_legitimize_address
-#undef TARGET_LRA_P
-#define TARGET_LRA_P hook_bool_void_true
-
#undef TARGET_ATTRIBUTE_TABLE
#define TARGET_ATTRIBUTE_TABLE arm_attribute_table
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index 051fddb..370345e 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -50620,9 +50620,6 @@ ix86_addr_space_zero_address_valid (addr_space_t as)
#undef TARGET_LEGITIMATE_ADDRESS_P
#define TARGET_LEGITIMATE_ADDRESS_P ix86_legitimate_address_p
-#undef TARGET_LRA_P
-#define TARGET_LRA_P hook_bool_void_true
-
#undef TARGET_REGISTER_PRIORITY
#define TARGET_REGISTER_PRIORITY ix86_register_priority
diff --git a/gcc/config/nds32/nds32.c b/gcc/config/nds32/nds32.c
index c47c122..8dbeba5 100644
--- a/gcc/config/nds32/nds32.c
+++ b/gcc/config/nds32/nds32.c
@@ -3547,9 +3547,6 @@ nds32_target_alignment (rtx label)
#undef TARGET_CLASS_MAX_NREGS
#define TARGET_CLASS_MAX_NREGS nds32_class_max_nregs
-#undef TARGET_LRA_P
-#define TARGET_LRA_P hook_bool_void_true
-
#undef TARGET_REGISTER_PRIORITY
#define TARGET_REGISTER_PRIORITY nds32_register_priority