Commit 21ef99b8 by Steven Bosscher Committed by Steven Bosscher

common.opt (flag_gcse_sm): Disable by default.

	* common.opt (flag_gcse_sm): Disable by default.
	(flag_gcse_las): Likewise.
	(flag_web): Likewise.  Create from this file.
	* flags.h: Remove flag_web declaration.
	* toplev.c (flag_web): Likewise.
	(process_options): Never set flag_web.

From-SVN: r88250
parent 78492bf5
2004-09-28 Steven Bosscher <stevenb@suse.de> 2004-09-28 Steven Bosscher <stevenb@suse.de>
* common.opt (flag_gcse_sm): Disable by default.
(flag_gcse_las): Likewise.
(flag_web): Likewise. Create from this file.
* flags.h: Remove flag_web declaration.
* toplev.c (flag_web): Likewise.
(process_options): Never set flag_web.
2004-09-28 Steven Bosscher <stevenb@suse.de>
* Makefile.in (tree-ssa-propagate.o): Depend on vec.h. * Makefile.in (tree-ssa-propagate.o): Depend on vec.h.
* tree-ssa-propagate.c: Include vec.h. * tree-ssa-propagate.c: Include vec.h.
(interesting_ssa_edges, varying_ssa_edges): Make these VECs (interesting_ssa_edges, varying_ssa_edges): Make these VECs
......
...@@ -407,11 +407,11 @@ Common Report Var(flag_gcse_lm) Init(1) ...@@ -407,11 +407,11 @@ Common Report Var(flag_gcse_lm) Init(1)
Perform enhanced load motion during global common subexpression elimination Perform enhanced load motion during global common subexpression elimination
fgcse-sm fgcse-sm
Common Report Var(flag_gcse_sm) Init(1) Common Report Var(flag_gcse_sm) Init(0)
Perform store motion after global common subexpression elimination Perform store motion after global common subexpression elimination
fgcse-las fgcse-las
Common Report Var(flag_gcse_las) Init(1) Common Report Var(flag_gcse_las) Init(0)
Perform redundant load after store elimination in global common subexpression Perform redundant load after store elimination in global common subexpression
elimination elimination
...@@ -936,7 +936,7 @@ Common Report Var(flag_value_profile_transformations) ...@@ -936,7 +936,7 @@ Common Report Var(flag_value_profile_transformations)
Use expression value profiles in optimizations Use expression value profiles in optimizations
fweb fweb
Common Report Var(flag_web) VarExists Common Report Var(flag_web) Init(0)
Construct webs and split unrelated uses of single variable Construct webs and split unrelated uses of single variable
fwrapv fwrapv
......
...@@ -240,8 +240,6 @@ extern enum graph_dump_types graph_dump_format; ...@@ -240,8 +240,6 @@ extern enum graph_dump_types graph_dump_format;
and to print them when we are done. */ and to print them when we are done. */
extern int flag_detailed_statistics; extern int flag_detailed_statistics;
extern int flag_web;
/* Nonzero means that we defer emitting functions until they are actually /* Nonzero means that we defer emitting functions until they are actually
used. */ used. */
extern int flag_remove_unreachable_functions; extern int flag_remove_unreachable_functions;
......
...@@ -270,12 +270,6 @@ int flag_pcc_struct_return = DEFAULT_PCC_STRUCT_RETURN; ...@@ -270,12 +270,6 @@ int flag_pcc_struct_return = DEFAULT_PCC_STRUCT_RETURN;
int flag_complex_divide_method = 0; int flag_complex_divide_method = 0;
/* Nonzero means performs web construction pass. When flag_web ==
AUTODETECT_FLAG_VAR_TRACKING it will be set according to optimize
and default_debug_hooks in process_options (). */
int flag_web = AUTODETECT_FLAG_VAR_TRACKING;
/* Nonzero means that we don't want inlining by virtue of -fno-inline, /* Nonzero means that we don't want inlining by virtue of -fno-inline,
not just because the tree inliner turned us off. */ not just because the tree inliner turned us off. */
...@@ -1827,7 +1821,7 @@ process_options (void) ...@@ -1827,7 +1821,7 @@ process_options (void)
debug_type_names[write_symbols]); debug_type_names[write_symbols]);
/* Now we know which debug output will be used so we can set /* Now we know which debug output will be used so we can set
flag_var_tracking, flag_rename_registers and flag_web if the user has flag_var_tracking, flag_rename_registers if the user has
not specified them. */ not specified them. */
if (debug_info_level < DINFO_LEVEL_NORMAL if (debug_info_level < DINFO_LEVEL_NORMAL
|| debug_hooks->var_location == do_nothing_debug_hooks.var_location) || debug_hooks->var_location == do_nothing_debug_hooks.var_location)
...@@ -1848,10 +1842,6 @@ process_options (void) ...@@ -1848,10 +1842,6 @@ process_options (void)
flag_rename_registers = default_debug_hooks->var_location flag_rename_registers = default_debug_hooks->var_location
!= do_nothing_debug_hooks.var_location; != do_nothing_debug_hooks.var_location;
if (flag_web == AUTODETECT_FLAG_VAR_TRACKING)
flag_web = optimize >= 2 && (default_debug_hooks->var_location
!= do_nothing_debug_hooks.var_location);
if (flag_var_tracking == AUTODETECT_FLAG_VAR_TRACKING) if (flag_var_tracking == AUTODETECT_FLAG_VAR_TRACKING)
flag_var_tracking = optimize >= 1; flag_var_tracking = optimize >= 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment