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 05:35:15 +0000 (14:35 +0900)
commit5d9f270ba3ed7d4c38fe6a54f12ebd9d5bd37b35
tree67568a16884af56489e93d87ccd2c3cd138aa4d0
parentb677e07945a7bca2997ee7a69e0d1b7b0fe29639
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