OSDN Git Service

PR rtl-optimization/54870
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Oct 2012 23:18:08 +0000 (23:18 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Oct 2012 23:18:08 +0000 (23:18 +0000)
commit4fccd735cae8cc0887374b2a3a510280f56e3613
treebc3e7de17c841cefe94923c43b66e8ee94bd0c66
parent573a494d5b0915d696683160a2c6e3765af65580
PR rtl-optimization/54870
* tree.h (TREE_ADDRESSABLE): Document special usage on SSA_NAME.
* cfgexpand.c (update_alias_info_with_stack_vars ): Set it on the
SSA_NAME pointer that points to a partition if there is at least
one variable with it set in the partition.
* dse.c (local_variable_can_escape): New predicate.
(can_escape): Call it.
* gimplify.c (mark_addressable): If this is a partitioned decl, also
mark the SSA_NAME pointer that points to a partition.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@192518 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cfgexpand.c
gcc/dse.c
gcc/gimplify.c
gcc/tree.h