aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2012-11-09 09:20:12 -0800
committerRichard Henderson <rth@gcc.gnu.org>2012-11-09 09:20:12 -0800
commitb49c27c320ba5fa4d038fe5619e3185bc2c1aa50 (patch)
tree95801a7649e5abddc1746f88a16a7bc14db677f5
parent64fbcc74a336dd37eed05336788188ad9374f6e1 (diff)
downloadgcc-b49c27c320ba5fa4d038fe5619e3185bc2c1aa50.zip
gcc-b49c27c320ba5fa4d038fe5619e3185bc2c1aa50.tar.gz
gcc-b49c27c320ba5fa4d038fe5619e3185bc2c1aa50.tar.bz2
Use hook_bool_void_true for TARGET_LRA_P
From-SVN: r193370
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/i386.c9
2 files changed, 6 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 37049f9..a72d5a9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2012-11-09 Richard Henderson <rth@redhat.com>
+
+ * config/i386/i386.c (ix86_lra_p): Remove.
+ (TARGET_LRA_P): Use hook_bool_void_true.
+
2012-11-09 Jason Merrill <jason@redhat.com>
* attribs.c (lookup_attribute_spec): Handle getting a TREE_LIST.
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index 3a6f494..60a39b8 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -32856,13 +32856,6 @@ ix86_free_from_memory (enum machine_mode mode)
}
}
-/* Return true if we use LRA instead of reload pass. */
-static bool
-ix86_lra_p (void)
-{
- return true;
-}
-
/* Return a register priority for hard reg REGNO. */
static int
ix86_register_priority (int hard_regno)
@@ -42119,7 +42112,7 @@ ix86_memmodel_check (unsigned HOST_WIDE_INT val)
#define TARGET_LEGITIMATE_ADDRESS_P ix86_legitimate_address_p
#undef TARGET_LRA_P
-#define TARGET_LRA_P ix86_lra_p
+#define TARGET_LRA_P hook_bool_void_true
#undef TARGET_REGISTER_PRIORITY
#define TARGET_REGISTER_PRIORITY ix86_register_priority