toplev.c (process_options): Remove dead code.

* toplev.c (process_options): Remove dead code.
	* doc/invoke.texi (-frename-registers): Mention -fpeel-loops.

From-SVN: r154259
This commit is contained in:
Eric Botcazou 2009-11-17 17:19:39 +00:00 committed by Eric Botcazou
parent a5ac2cdf94
commit 37740cd3af
3 changed files with 10 additions and 9 deletions

View 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

View 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

View 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;