diff options
author | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-26 20:23:40 +0000 |
---|---|---|
committer | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-26 20:23:40 +0000 |
commit | a1ab46376685a6e38f8ba71c75dfd4c50d057f44 (patch) | |
tree | 17497b7fe2c1670f29453859c0c2bf34edca6ec2 /gcc/opts.c | |
parent | 6a3e083eb0dd9732645074a1a4efd9ee50b8d0e6 (diff) | |
download | gcc-a1ab46376685a6e38f8ba71c75dfd4c50d057f44.tar.gz |
gcc/
* common.opt (-floop-optimize, -frerun-loop-opt): Remove.
* tree-pass.h (pass_loop_optimize): Remove.
* passes.c (pass_loop_optimize): Never run it.
* toplev.c (backend_init): Don't call init_loop.
* opts.c (flag_loop_optimize_set): Remove.
(decode_options): Never set flag_loop_optimize or flag_rerun_loop_opt.
(common_handle_option) <OPT_floop_optimize>: Remove. Don't disable
the old RTL loop optimizer when profiling enabled.
* predict.c (tree_estimate_probability): Always strip builtin_expect.
* cfgcleanup.c (try_forward_edges): Don't avoid killing loop
pre-headers for the sake of the old RTL loop optimizer.
* Makefile.in: Remove all references to loop.o.
* doc/invoke.texi: Remove all references to -floop-optimize
and -frerun-loop-opt.
testsuite/
* gcc.dg/20031201-1.c: Don't use -frerun-loop-opt.
* g++.old-deja/g++.robertl/eb132.C: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111459 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/opts.c')
-rw-r--r-- | gcc/opts.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gcc/opts.c b/gcc/opts.c index a5dc609aa45..ce0a5a92a00 100644 --- a/gcc/opts.c +++ b/gcc/opts.c @@ -100,7 +100,6 @@ static bool profile_arc_flag_set, flag_profile_values_set; static bool flag_unroll_loops_set, flag_tracer_set; static bool flag_value_profile_transformations_set; static bool flag_peel_loops_set, flag_branch_probabilities_set; -static bool flag_loop_optimize_set; /* Input file names. */ const char **in_fnames; @@ -526,7 +525,6 @@ decode_options (unsigned int argc, const char **argv) #endif flag_guess_branch_prob = 1; flag_cprop_registers = 1; - flag_loop_optimize = 1; flag_if_conversion = 1; flag_if_conversion2 = 1; flag_ipa_pure_const = 1; @@ -568,7 +566,6 @@ decode_options (unsigned int argc, const char **argv) flag_ipa_type_escape = 1; flag_strength_reduce = 1; flag_rerun_cse_after_loop = 1; - flag_rerun_loop_opt = 1; flag_caller_saves = 1; flag_peephole2 = 1; #ifdef INSN_SCHEDULING @@ -859,10 +856,6 @@ common_handle_option (size_t scode, const char *arg, int value, flag_branch_probabilities_set = true; break; - case OPT_floop_optimize: - flag_loop_optimize_set = true; - break; - case OPT_fcall_used_: fix_register (arg, 0, 1); break; @@ -939,9 +932,6 @@ common_handle_option (size_t scode, const char *arg, int value, flag_tracer = value; if (!flag_value_profile_transformations_set) flag_value_profile_transformations = value; - /* Old loop optimizer is incompatible with tree profiling. */ - if (!flag_loop_optimize_set) - flag_loop_optimize = 0; break; case OPT_fprofile_generate: |