[patch] common.opt: Remove -fforce-mem.

Martin Michlmayr tbm@cyrius.com
Sat Mar 17 19:17:00 GMT 2007


* Martin Michlmayr <tbm@cyrius.com> [2007-03-17 19:11]:
> In that case the documentation in 4.2 should be updated to say that
> the option will be removed in 4.3 rather than in 4.2.

How about the following for the 4.2 branch.  Mark, OK?

2007-03-17  Martin Michlmayr  <tbm@cyrius.com>

	* doc/invoke.texi (-fforce-mem): Update documentation to reflect
	that this option will be removed in 4.3 rather than 4.2.
	* opts.c (common_handle_option): Likewise.

Index: doc/invoke.texi
===================================================================
--- gcc/doc/invoke.texi	(revision 123026)
+++ gcc/doc/invoke.texi	(working copy)
@@ -4673,7 +4673,7 @@
 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.
+register-load. This option is now a nop and will be removed in 4.3.
 
 @item -fforce-addr
 @opindex fforce-addr
Index: opts.c
===================================================================
--- gcc/opts.c	(revision 123026)
+++ gcc/opts.c	(working copy)
@@ -1010,7 +1010,7 @@
       break;
 
     case OPT_fforce_mem:
-      warning (0, "-f[no-]force-mem is nop and option will be removed in 4.2");
+      warning (0, "-f[no-]force-mem is nop and option will be removed in 4.3");
       break;
 
     case OPT_floop_optimize:

-- 
Martin Michlmayr
http://www.cyrius.com/



More information about the Gcc-patches mailing list