mirror of
https://gcc.gnu.org/git/gcc.git
synced 2025-01-19 02:44:59 +08:00
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:
parent
3c503f9a68
commit
3b9ade7567
@ -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.
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user