From e90338556a009ae59ec9d262cb127303f13843e7 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 3 Dec 2007 11:45:53 +0100 Subject: [PATCH] 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 --- gcc/ChangeLog | 7 +++++++ gcc/common.opt | 2 +- gcc/opts.c | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 778160cc93c..67428d37ed3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2007-12-03 Jakub Jelinek + + 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 Revital Eres diff --git a/gcc/common.opt b/gcc/common.opt index 69797352065..0efce3f739e 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 8be098f89b8..26dbecbc830 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; -- 2.30.2