diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-07-14 14:08:09 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-07-14 14:08:09 +0000 |
commit | b6da67dcd41f4901f95fdd8995e836af8e35e89d (patch) | |
tree | bbcfb21ed64dbe5687c8df0a96f0596c5ffe02a1 /gcc/cfgexpand.c | |
parent | c978263a6f56894641a3a81526cbb6d866fddcc8 (diff) | |
download | ppe42-gcc-b6da67dcd41f4901f95fdd8995e836af8e35e89d.tar.gz ppe42-gcc-b6da67dcd41f4901f95fdd8995e836af8e35e89d.zip |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149627 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgexpand.c')
-rw-r--r-- | gcc/cfgexpand.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c index 89a73634cb2..359433922d5 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. */ |