PR middle-end/34317
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Dec 2007 10:45:53 +0000 (10:45 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Dec 2007 10:45:53 +0000 (10:45 +0000)
* opts.c (common_handle_option): Handle OPT_ftree_store_copy_prop.
* common.opt (ftree-store-copy-prop): Use the same help text as for
other nop switches.

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

gcc/ChangeLog
gcc/common.opt
gcc/opts.c

index 778160c..67428d3 100644 (file)
@@ -1,3 +1,10 @@
+2007-12-03  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/34317
+       * opts.c (common_handle_option): Handle OPT_ftree_store_copy_prop.
+       * common.opt (ftree-store-copy-prop): Use the same help text as for
+       other nop switches.
+
 2007-12-02  Ayal Zaks  <zaks@il.ibm.com>
            Revital Eres  <eres@il.ibm.com>
 
index 6979735..0efce3f 100644 (file)
@@ -1055,7 +1055,7 @@ Enable copy propagation on trees
 
 ftree-store-copy-prop
 Common
-This switch is obsolete
+Does nothing.  Preserved for backward compatibility.
 
 ftree-cselim
 Common Report Var(flag_tree_cselim) Init(2) Optimization
index 8be098f..26dbecb 100644 (file)
@@ -1777,6 +1777,7 @@ common_handle_option (size_t scode, const char *arg, int value,
     case OPT_floop_optimize:
     case OPT_frerun_loop_opt:
     case OPT_fstrength_reduce:
+    case OPT_ftree_store_copy_prop:
       /* These are no-ops, preserved for backward compatibility.  */
       break;