From: Peter Bergner Date: Wed, 3 Aug 2016 23:13:20 +0000 (-0500) Subject: rs6000.c (rs6000_option_override_internal): Make LRA the default for the rs6000 port. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2f9436e96c444070aa9ab9f00ac3a12b17ebfac9;p=gcc.git 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 --- 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 + + * config/rs6000/rs6000.c (rs6000_option_override_internal): Make LRA + the default for the rs6000 port. + 2016-08-03 Bernd Edlinger 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