diff options
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/cfgexpand.c | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 519c7cf..4e85655 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,4 +1,10 @@ 2009-07-14 Richard Guenther <rguenther@suse.de> + + PR middle-end/40745 + * cfgexpand.c (partition_stack_vars): Do not bother to update + alias information when not optimizing. + +2009-07-14 Richard Guenther <rguenther@suse.de> Andrey Belevantsev <abel@ispras.ru> * tree-ssa-alias.h (refs_may_alias_p_1): Declare. 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. */ |