From 794b71a4eed824840e3d07b90d3c7160c9e09419 Mon Sep 17 00:00:00 2001 From: Segher Boessenkool Date: Wed, 14 Sep 2016 12:48:00 +0200 Subject: [PATCH] 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 * targhooks.c (default_lra_p): Return true instead of false. From-SVN: r240131 --- gcc/ChangeLog | 4 ++++ gcc/targhooks.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 96afe3d18ae..bde68f91385 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2016-09-14 Segher Boessenkool + + * targhooks.c (default_lra_p): Return true instead of false. + 2016-09-14 Segher Boessenkool * config/alpha/alpha.c (TARGET_LRA_P): New macro, defined to diff --git a/gcc/targhooks.c b/gcc/targhooks.c index 97856face38..67cc53a2641 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 -- 2.30.2