re PR middle-end/34317 (-fno-tree-store-copy-prop causes an ICE)
authorJakub Jelinek <jakub@redhat.com>
Mon, 3 Dec 2007 10:45:53 +0000 (11:45 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 3 Dec 2007 10:45:53 +0000 (11:45 +0100)
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.

From-SVN: r130579

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

index 778160cc93c74fa6fae01b4672b5ea50f127a7da..67428d37ed38bbe62eb07b03d01a9dc8216ed390 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 6979735206583c11343ea2bf100b01bafe47b2b0..0efce3f739e529a88793d8188686dbc3b110cd8a 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 8be098f89b8966ed613b15e3164be57d45360085..26dbecbc830ba86da5452087a3eb4b72e73e6a6b 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;