aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgexpand.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cfgexpand.c')
-rw-r--r--gcc/cfgexpand.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c
index 89a7363..3594339 100644
--- a/gcc/cfgexpand.c
+++ b/gcc/cfgexpand.c
@@ -1031,7 +1031,8 @@ partition_stack_vars (void)
}
}
- update_alias_info_with_stack_vars ();
+ if (optimize)
+ update_alias_info_with_stack_vars ();
}
/* A debugging aid for expand_used_vars. Dump the generated partitions. */