aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Bergner <bergner@vnet.ibm.com>2016-08-03 18:13:20 -0500
committerPeter Bergner <bergner@gcc.gnu.org>2016-08-03 18:13:20 -0500
commit2f9436e96c444070aa9ab9f00ac3a12b17ebfac9 (patch)
tree0f49236a7646e44acaac416ef4cc56c51d4d9675
parent9c26dfd08a1374c6c1137ad13b9bfe402c66d299 (diff)
downloadgcc-2f9436e96c444070aa9ab9f00ac3a12b17ebfac9.zip
gcc-2f9436e96c444070aa9ab9f00ac3a12b17ebfac9.tar.gz
gcc-2f9436e96c444070aa9ab9f00ac3a12b17ebfac9.tar.bz2
rs6000.c (rs6000_option_override_internal): Make LRA the default for the rs6000 port.
* config/rs6000/rs6000.c (rs6000_option_override_internal): Make LRA the default for the rs6000 port. From-SVN: r239105
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/rs6000/rs6000.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fd09ec1..2961582 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2016-08-03 Peter Bergner <bergner@vnet.ibm.com>
+
+ * config/rs6000/rs6000.c (rs6000_option_override_internal): Make LRA
+ the default for the rs6000 port.
+
2016-08-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
PR middle-end/71876
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 2ae3e7e..a8aa9d1 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -4323,6 +4323,10 @@ rs6000_option_override_internal (bool global_init_p)
rs6000_isa_flags &= ~OPTION_MASK_P9_DFORM_SCALAR;
}
+ /* Enable LRA by default. */
+ if ((rs6000_isa_flags_explicit & OPTION_MASK_LRA) == 0)
+ rs6000_isa_flags |= OPTION_MASK_LRA;
+
/* There have been bugs with -mvsx-timode that don't show up with -mlra,
but do show up with -mno-lra. Given -mlra will become the default once
PR 69847 is fixed, turn off the options with problems by default if