aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@kernel.crashing.org>2016-09-14 12:48:00 +0200
committerSegher Boessenkool <segher@gcc.gnu.org>2016-09-14 12:48:00 +0200
commit794b71a4eed824840e3d07b90d3c7160c9e09419 (patch)
tree8e0741fc0a97bcb3796c322b11c91fa3ee00225e /gcc
parentd81db6361630b3b515b23f70dd99c5b21163f31d (diff)
downloadgcc-794b71a4eed824840e3d07b90d3c7160c9e09419.zip
gcc-794b71a4eed824840e3d07b90d3c7160c9e09419.tar.gz
gcc-794b71a4eed824840e3d07b90d3c7160c9e09419.tar.bz2
Change the default of TARGET_LRA_P to true
Since all targets now define TARGET_LRA_P, this does not change behaviour for any existing target. Newly added ports will by default use LRA now. 2016-09-14 Segher Boessenkool <segher@kernel.crashing.org> * targhooks.c (default_lra_p): Return true instead of false. From-SVN: r240131
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/targhooks.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 96afe3d..bde68f9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
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>
+
* config/alpha/alpha.c (TARGET_LRA_P): New macro, defined to
hook_bool_void_false.
* config/avr/avr.c: Ditto.
diff --git a/gcc/targhooks.c b/gcc/targhooks.c
index 97856fa..67cc53a 100644
--- a/gcc/targhooks.c
+++ b/gcc/targhooks.c
@@ -995,7 +995,7 @@ default_ira_change_pseudo_allocno_class (int regno ATTRIBUTE_UNUSED,
extern bool
default_lra_p (void)
{
- return false;
+ return true;
}
int