OSDN Git Service

2009-07-14 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Jul 2009 14:08:09 +0000 (14:08 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Jul 2009 14:08:09 +0000 (14:08 +0000)
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

gcc/ChangeLog
gcc/cfgexpand.c

index 519c7cf..4e85655 100644 (file)
@@ -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.
index 89a7363..3594339 100644 (file)
@@ -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.  */