aboutsummaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2004-04-17 06:53:44 +0000
committerPaolo Bonzini <bonzini@gcc.gnu.org>2004-04-17 06:53:44 +0000
commit38d396e511338696ce8953e36b0fa838e9f3ce7a (patch)
tree2ce9a097e3a430f0b4f2c5c400ae2a13887facf9 /gcc/opts.c
parent82e923f6ff5365803d17e85f9999a1e8f6da9ad9 (diff)
downloadgcc-38d396e511338696ce8953e36b0fa838e9f3ce7a.zip
gcc-38d396e511338696ce8953e36b0fa838e9f3ce7a.tar.gz
gcc-38d396e511338696ce8953e36b0fa838e9f3ce7a.tar.bz2
opts.c (decode_options): Do not enable flag_rename_registers and flag_web at -O3.
2004-04-17 Paolo Bonzini <bonzini@gnu.org> * opts.c (decode_options): Do not enable flag_rename_registers and flag_web at -O3. * toplev.c (flag_rename_registers): Initialize flag_rename_registers and flag_web to AUTODETECT_FLAG_VAR_TRACKING. (default_debug_hooks): New global. (process_options): Initialize default_debug_hooks. Warn if -fvar-tracking specified but not supported by the current debug format. Do not run var tracking at -O0 or if not supported by the current debug format, even if -fvar-tracking was given. If -fno-rename-registers is not specified, always run register renaming if var tracking is supported by the default debugging information format for the target, and we are at -O1 or higher; similarly for -fweb, but only at -O2 or higher. * doc/invoke.texi (Optimize Options): Document this. From-SVN: r80789
Diffstat (limited to 'gcc/opts.c')
-rw-r--r--gcc/opts.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/opts.c b/gcc/opts.c
index a2df41a..fb04b8f 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -571,9 +571,7 @@ decode_options (unsigned int argc, const char **argv)
if (optimize >= 3)
{
flag_inline_functions = 1;
- flag_rename_registers = 1;
flag_unswitch_loops = 1;
- flag_web = 1;
flag_gcse_after_reload = 1;
}