summaryrefslogtreecommitdiffstats
path: root/gcc/cfgexpand.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2009-07-14 14:08:09 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2009-07-14 14:08:09 +0000
commitb6da67dcd41f4901f95fdd8995e836af8e35e89d (patch)
treebbcfb21ed64dbe5687c8df0a96f0596c5ffe02a1 /gcc/cfgexpand.c
parentc978263a6f56894641a3a81526cbb6d866fddcc8 (diff)
downloadppe42-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.c3
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. */
OpenPOWER on IntegriCloud