Add forgotten requeing in propagate_subaccesses_across_link

Programming / Compilers / GCC - jamborm [138bc75d-0d04-0410-961f-82ee72b054a4] - 18 March 2019 11:28 EDT

2019-03-18 Martin Jambor

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.

ac61f7f0341 Add forgotten requeing in propagate_subaccesses_across_link
gcc/ChangeLog | 6 ++
gcc/testsuite/ChangeLog | 5 ++
gcc/testsuite/gcc.dg/tree-ssa/pr89546.c | 100 ++++++++++++++++++++++++++++++++
gcc/tree-sra.c | 8 ++-
4 files changed, 117 insertions(+), 2 deletions(-)

Upstream: gcc.gnu.org


  • Share