Add forgotten requeing in propagate_subaccesses_across_link
authorMartin Jambor <mjambor@suse.cz>
Mon, 18 Mar 2019 11:28:01 +0000 (12:28 +0100)
committerMartin Jambor <jamborm@gcc.gnu.org>
Mon, 18 Mar 2019 11:28:01 +0000 (12:28 +0100)
commitcfce6e055d98cf55a912dfe814d48a331ec2eee9
treef503ed0e9c71e2b6d7bb8244dcf11f98b8ef3659
parent4d7dfada8935a362601d1782bd6598e3e1d78d74
Add forgotten requeing in propagate_subaccesses_across_link

2019-03-18  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/89546
* tree-sra.c (propagate_subaccesses_across_link): Requeue new_acc if
any propagation to its children took place.

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

From-SVN: r269761
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr89546.c [new file with mode: 0644]
gcc/tree-sra.c