Commit 3b9ade75 by Jan Hubicka Committed by Jan Hubicka

cfgexpand.c (expand_one_stack_var): Do not expand variables when we do unit-at-a-time.


	* cfgexpand.c (expand_one_stack_var): Do not expand variables when we
	do unit-at-a-time.

From-SVN: r101950
parent 3c503f9a
2005-07-13 Jan Hubicka <jh@suse.cz> 2005-07-13 Jan Hubicka <jh@suse.cz>
* cfgexpand.c (expand_one_stack_var): Do not expand variables when we
do unit-at-a-time.
* tree-ssa-operands.c (parse_ssa_operands): Fix formatting. * tree-ssa-operands.c (parse_ssa_operands): Fix formatting.
(get_expr_operands): Fix thinko wrt flags and subvars. (get_expr_operands): Fix thinko wrt flags and subvars.
......
...@@ -552,6 +552,10 @@ expand_one_stack_var (tree var) ...@@ -552,6 +552,10 @@ expand_one_stack_var (tree var)
static void static void
expand_one_static_var (tree var) expand_one_static_var (tree var)
{ {
/* In unit-at-a-time all the static variables are expanded at the end
of compilation process. */
if (flag_unit_at_a_time)
return;
/* If this is an inlined copy of a static local variable, /* If this is an inlined copy of a static local variable,
look up the original. */ look up the original. */
var = DECL_ORIGIN (var); var = DECL_ORIGIN (var);
......
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