OSDN Git Service

* toplev.c (process_options): Remove dead code.
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Nov 2009 17:19:39 +0000 (17:19 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Nov 2009 17:19:39 +0000 (17:19 +0000)
* doc/invoke.texi (-frename-registers): Mention -fpeel-loops.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154259 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 25080b2..8d26038 100644 (file)
@@ -1,3 +1,8 @@
+2009-11-17  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * toplev.c (process_options): Remove dead code.
+       * doc/invoke.texi (-frename-registers): Mention -fpeel-loops.
+
 2009-11-17  Rafael Avila de Espindola  <espindola@google.com>
 
        * lto-symtab.c (lto_symtab_resolve_symbols): Always initialize the
index 295c0fe..b632d04 100644 (file)
@@ -7726,7 +7726,7 @@ debug information format adopted by the target, however, it can
 make debugging impossible, since variables will no longer stay in
 a ``home register''.
 
-Enabled by default with @option{-funroll-loops}.
+Enabled by default with @option{-funroll-loops} and @option{-fpeel-loops}.
 
 @item -ftracer
 @opindex ftracer
index 8686e4d..92e4835 100644 (file)
@@ -1843,11 +1843,12 @@ process_options (void)
 
   /* The loop unrolling code assumes that cse will be run after loop.
      web and rename-registers also help when run after loop unrolling.  */
-
   if (flag_rerun_cse_after_loop == AUTODETECT_VALUE)
     flag_rerun_cse_after_loop = flag_unroll_loops || flag_peel_loops;
+
   if (flag_web == AUTODETECT_VALUE)
     flag_web = flag_unroll_loops || flag_peel_loops;
+
   if (flag_rename_registers == AUTODETECT_VALUE)
     flag_rename_registers = flag_unroll_loops || flag_peel_loops;
 
@@ -1991,9 +1992,8 @@ process_options (void)
     error ("target system does not support the \"%s\" debug format",
           debug_type_names[write_symbols]);
 
-  /* Now we know which debug output will be used so we can set
-     flag_var_tracking, flag_rename_registers if the user has
-     not specified them.  */
+  /* We know which debug output will be used so we can set flag_var_tracking
+     and flag_var_tracking_uninit if the user has not specified them.  */
   if (debug_info_level < DINFO_LEVEL_NORMAL
       || debug_hooks->var_location == do_nothing_debug_hooks.var_location)
     {
@@ -2034,10 +2034,6 @@ process_options (void)
       && (flag_selective_scheduling || flag_selective_scheduling2))
     warning (0, "var-tracking-assignments changes selective scheduling");
 
-  if (flag_rename_registers == AUTODETECT_VALUE)
-    flag_rename_registers = default_debug_hooks->var_location
-                           != do_nothing_debug_hooks.var_location;
-
   if (flag_tree_cselim == AUTODETECT_VALUE)
 #ifdef HAVE_conditional_move
     flag_tree_cselim = 1;