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)
committerjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 Apr 2010 14:52:06 +0000 (14:52 +0000)
commit7038698be1e1f573d0600c6e8988b28f12ed1a70
treeb7621897c359b3f544e651db9bbab0e6dc80a53f
parent8cef76a0a12225b2f4b8787b16c68f571745766c
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/testsuite/gcc.dg/tree-ssa/sra-10.c [new file with mode: 0644]
gcc/tree-sra.c