This flips the default to LRA for targets with an -mlra option not
using Mask(..).

        * config/avr/avr.opt (mlra): Flip to default on.
        * config/m68k/m68k.opt (mlra): Likewise.
        * config/pa/pa.opt (mlra): Likewise.
        * config/sh/sh.opt (mlra): Likewise.
---
 gcc/config/avr/avr.opt   | 2 +-
 gcc/config/m68k/m68k.opt | 2 +-
 gcc/config/pa/pa.opt     | 2 +-
 gcc/config/sh/sh.opt     | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/gcc/config/avr/avr.opt b/gcc/config/avr/avr.opt
index fcd2bf68f2a..3aa4955361b 100644
--- a/gcc/config/avr/avr.opt
+++ b/gcc/config/avr/avr.opt
@@ -19,7 +19,7 @@
 ; <http://www.gnu.org/licenses/>.
 
 mlra
-Target Var(avropt_lra_p) UInteger Init(0) Optimization Undocumented
+Target Var(avropt_lra_p) UInteger Init(1) Optimization Undocumented
 Usa LRA for reload instead of the old reload framework.  This option is 
experimental, and it may be removed in future versions of the compiler.
 
 mcall-prologues
diff --git a/gcc/config/m68k/m68k.opt b/gcc/config/m68k/m68k.opt
index 35f86ba11ff..b664425c5a1 100644
--- a/gcc/config/m68k/m68k.opt
+++ b/gcc/config/m68k/m68k.opt
@@ -147,7 +147,7 @@ Target RejectNegative Mask(LONG_JUMP_TABLE_OFFSETS)
 Use 32-bit offsets in jump tables rather than 16-bit offsets.
 
 mlra
-Target Var(m68k_lra_p) Undocumented
+Target Var(m68k_lra_p) Init(1) Undocumented
 Usa LRA for reload instead of the old reload framework.  This option is
 experimental, and it may be removed in future versions of the compiler.
 
diff --git a/gcc/config/pa/pa.opt b/gcc/config/pa/pa.opt
index fae4247d50d..e90c4cacbd5 100644
--- a/gcc/config/pa/pa.opt
+++ b/gcc/config/pa/pa.opt
@@ -87,7 +87,7 @@ Target Mask(LONG_CALLS)
 Always generate long calls.
 
 mlra
-Target Var(pa_lra_p) Init(0)
+Target Var(pa_lra_p) Init(1)
 Use LRA instead of reload (transitional).
 
 mlong-load-store
diff --git a/gcc/config/sh/sh.opt b/gcc/config/sh/sh.opt
index beaf830037b..ce37746428e 100644
--- a/gcc/config/sh/sh.opt
+++ b/gcc/config/sh/sh.opt
@@ -299,5 +299,5 @@ Target Var(TARGET_FSRRA)
 Enable the use of the fsrra instruction.
 
 mlra
-Target Var(sh_lra_flag) Init(0) Save
+Target Var(sh_lra_flag) Init(1) Save
 Use LRA instead of reload (transitional).
-- 
2.43.0

Reply via email to