aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-12-03 11:45:53 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2007-12-03 11:45:53 +0100
commite90338556a009ae59ec9d262cb127303f13843e7 (patch)
tree0fb1c0e8fff90e99e9b24b45b8fe0816a66b7d39 /gcc
parente75ca1a3afc0e282ef1d275d89ce10b02bd2cf2c (diff)
downloadgcc-e90338556a009ae59ec9d262cb127303f13843e7.zip
gcc-e90338556a009ae59ec9d262cb127303f13843e7.tar.gz
gcc-e90338556a009ae59ec9d262cb127303f13843e7.tar.bz2
re PR middle-end/34317 (-fno-tree-store-copy-prop causes an ICE)
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/common.opt2
-rw-r--r--gcc/opts.c1
3 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 778160c..67428d3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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>
diff --git a/gcc/common.opt b/gcc/common.opt
index 6979735..0efce3f 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -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
diff --git a/gcc/opts.c b/gcc/opts.c
index 8be098f..26dbecb 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -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;