summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorbergner <bergner@138bc75d-0d04-0410-961f-82ee72b054a4>2016-08-03 23:13:20 +0000
committerbergner <bergner@138bc75d-0d04-0410-961f-82ee72b054a4>2016-08-03 23:13:20 +0000
commit84c4c3c0c1328b8d55d16b9e9e1b0c6a65d13a82 (patch)
tree0f49236a7646e44acaac416ef4cc56c51d4d9675 /gcc
parent03343627a03bbb1d1e1cde81a775ad2a3b1a6bb0 (diff)
downloadgcc-84c4c3c0c1328b8d55d16b9e9e1b0c6a65d13a82.tar.gz
* config/rs6000/rs6000.c (rs6000_option_override_internal): Make LRA
the default for the rs6000 port. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@239105 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-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 fd09ec1c96c..29615822e4c 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 2ae3e7e6796..a8aa9d19a43 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