[PR80803 1/2] Streamline SRA access enqueuing
authorMartin Jambor <mjambor@suse.cz>
Tue, 13 Jun 2017 11:34:51 +0000 (13:34 +0200)
committerMartin Jambor <jamborm@gcc.gnu.org>
Tue, 13 Jun 2017 11:34:51 +0000 (13:34 +0200)
commit35a952ba70028b50fbd2fd19f7dc91f2da45371e
tree35eb66b90e2c173c1b89df32c2459105ec4c6ef6
parent7aa923e02f598c1075f3acf1e5da946848515b36
[PR80803 1/2] Streamline SRA access enqueuing

2017-06-13  Martin Jambor  <mjambor@suse.cz>

* tree-sra.c (add_access_to_work_queue): Only enqueue accesses
that have a first_link.
(sort_and_splice_var_accesses): Do not check first_link before
enquing.
(subtree_mark_written_and_enqueue): Likewise.
(propagate_all_subaccesses): Likewise and do not stop at first
parent with a first_link.

From-SVN: r249153
gcc/ChangeLog
gcc/tree-sra.c