common.opt (flag_force_mem): Remove.

* common.opt (flag_force_mem): Remove.
	* doc/invoke.texi (-fforce-mem): Remove.
	* opts.c (common_handle_option): Don't handle OPT_fforce_mem.

From-SVN: r120176
This commit is contained in:
Kazu Hirata 2006-12-23 21:54:59 +00:00 committed by Kazu Hirata
parent 7fa982e563
commit 8aceba8c95
4 changed files with 6 additions and 18 deletions

View file

@ -1,3 +1,9 @@
2006-12-23 Kazu Hirata <kazu@codesourcery.com>
* common.opt (flag_force_mem): Remove.
* doc/invoke.texi (-fforce-mem): Remove.
* opts.c (common_handle_option): Don't handle OPT_fforce_mem.
2006-12-23 Marcin Dalecki <martin@dalecki.de>
* cgraphunit.c (cgraph_optimize): Fixed obvious thinko in memory

View file

@ -438,12 +438,6 @@ fforce-addr
Common Report Var(flag_force_addr)
Copy memory address constants into registers before use
; Nonzero for -fforce-mem: load memory value into a register
; before arithmetic on it. This makes better cse but slower compilation.
fforce-mem
Common Report Var(flag_force_mem)
Copy memory operands into registers before use
fforward-propagate
Common Report Var(flag_forward_propagate)
Perform a forward propagation pass on RTL

View file

@ -4654,14 +4654,6 @@ function calls and pops them all at once.
Disabled at levels @option{-O}, @option{-O2}, @option{-O3}, @option{-Os}.
@item -fforce-mem
@opindex fforce-mem
Force memory operands to be copied into registers before doing
arithmetic on them. This produces better code by making all memory
references potential common subexpressions. When they are not common
subexpressions, instruction combination should eliminate the separate
register-load. This option is now a nop and will be removed in 4.2.
@item -fforce-addr
@opindex fforce-addr
Force memory address constants to be copied into registers before

View file

@ -992,10 +992,6 @@ common_handle_option (size_t scode, const char *arg, int value,
flag_pedantic_errors = pedantic = 1;
break;
case OPT_fforce_mem:
warning (0, "-f[no-]force-mem is nop and option will be removed in 4.2");
break;
case OPT_floop_optimize:
case OPT_frerun_loop_opt:
case OPT_fstrength_reduce: