]> gcc.gnu.org Git - gcc.git/commitdiff
Enable -frename-registers at -O2.
authorBernd Schmidt <bernds@redhat.com>
Tue, 26 Apr 2016 12:43:42 +0000 (12:43 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Tue, 26 Apr 2016 12:43:42 +0000 (12:43 +0000)
PR rtl-optimization/57193
* opts.c (default_options_table): Add OPT_frename_registers at -O2
and above.
* doc/invoke.texi (-frename-registers, -O2): Update documentation.

From-SVN: r235442

gcc/ChangeLog
gcc/doc/invoke.texi
gcc/opts.c

index dfc008167cc7813211d750d4ffbb633d24ba30c4..f43934566eec90dd262223c8ba1b3868454af5ae 100644 (file)
@@ -1,3 +1,10 @@
+2016-04-26  Bernd Schmidt  <bschmidt@redhat.com>
+
+       PR rtl-optimization/57193
+       * opts.c (default_options_table): Add OPT_frename_registers at -O2
+       and above.
+       * doc/invoke.texi (-frename-registers, -O2): Update documentation.
+
 2016-04-26  Bin Cheng  <bin.cheng@arm.com>
 
        * tree-if-conv.c (any_pred_load_store): New static variable.
index 0f97e6d912c8415e2452e4b0ab4161f3d31c749b..2617cb458ba411083d8d485ebe4a3921421e8452 100644 (file)
@@ -6255,6 +6255,7 @@ also turns on the following optimization flags:
 -foptimize-strlen @gol
 -fpartial-inlining @gol
 -fpeephole2 @gol
+-frename-registers @gol
 -freorder-blocks-algorithm=stc @gol
 -freorder-blocks-and-partition -freorder-functions @gol
 -frerun-cse-after-loop  @gol
@@ -8562,7 +8563,8 @@ debug information format adopted by the target, however, it can
 make debugging impossible, since variables no longer stay in
 a ``home register''.
 
-Enabled by default with @option{-funroll-loops} and @option{-fpeel-loops}.
+Enabled by default with @option{-funroll-loops} and @option{-fpeel-loops},
+and also enabled at levels @option{-O2} and @option{-O3}.
 
 @item -fschedule-fusion
 @opindex fschedule-fusion
index 0f9431a0b3231e57605a1af44774bc1e6980bfc3..649b84b3f6f3777f66d48174fdf0461ed5e93cd5 100644 (file)
@@ -498,6 +498,7 @@ static const struct default_options default_options_table[] =
     { OPT_LEVELS_2_PLUS, OPT_fstrict_overflow, NULL, 1 },
     { OPT_LEVELS_2_PLUS_SPEED_ONLY, OPT_freorder_blocks_algorithm_, NULL,
       REORDER_BLOCKS_ALGORITHM_STC },
+    { OPT_LEVELS_2_PLUS, OPT_frename_registers, NULL, 1 },
     { OPT_LEVELS_2_PLUS, OPT_freorder_functions, NULL, 1 },
     { OPT_LEVELS_2_PLUS, OPT_ftree_vrp, NULL, 1 },
     { OPT_LEVELS_2_PLUS, OPT_ftree_pre, NULL, 1 },
This page took 0.121007 seconds and 5 git commands to generate.