aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgexpand.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2009-07-14 14:08:09 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2009-07-14 14:08:09 +0000
commit0b200b806d0fb670fbf4d38750cc3eb563cc1401 (patch)
treebbcfb21ed64dbe5687c8df0a96f0596c5ffe02a1 /gcc/cfgexpand.c
parentfe24b3c9b84dc52d4c22eb3360b2e0beb7a9f863 (diff)
downloadgcc-0b200b806d0fb670fbf4d38750cc3eb563cc1401.zip
gcc-0b200b806d0fb670fbf4d38750cc3eb563cc1401.tar.gz
gcc-0b200b806d0fb670fbf4d38750cc3eb563cc1401.tar.bz2
re PR middle-end/40745 (Revision 149624 caused x86-64 failures)
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. From-SVN: r149627
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. */