OSDN Git Service

2010-04-23 Martin Jambor <mjambor@suse.cz>
authorjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 Apr 2010 14:52:06 +0000 (14:52 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 04:46:48 +0000 (13:46 +0900)
commitcb40c9dc273cebc9faaaeec169f30a240b07da63
tree2b80e59150fd32d5a0c24030286b493565ca4b59
parentfb1e96f2f93feba9aa0e79be67ad4b6ec6a019f8
2010-04-23  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/43846
* tree-sra.c (struct access): New flag grp_assignment_read.
(build_accesses_from_assign): Set grp_assignment_read.
(sort_and_splice_var_accesses): Propagate grp_assignment_read.
(enum mark_read_status): New type.
(analyze_access_subtree): Propagate grp_assignment_read, create
accesses also if both direct_read and root->grp_assignment_read.

* testsuite/gcc.dg/tree-ssa/sra-10.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158668 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/tree-sra.c