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
This commit is contained in:
Jan Hubicka 2005-07-13 00:44:38 +02:00 committed by Jan Hubicka
parent 3c503f9a68
commit 3b9ade7567
2 changed files with 7 additions and 0 deletions

View File

@ -1,5 +1,8 @@
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.
(get_expr_operands): Fix thinko wrt flags and subvars.

View File

@ -552,6 +552,10 @@ expand_one_stack_var (tree var)
static void
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,
look up the original. */
var = DECL_ORIGIN (var);