[PR 82363] Fix thinko in SRA subaccess propagation
authorMartin Jambor <mjambor@suse.cz>
Tue, 3 Oct 2017 11:43:45 +0000 (13:43 +0200)
committerMartin Jambor <jamborm@gcc.gnu.org>
Tue, 3 Oct 2017 11:43:45 +0000 (13:43 +0200)
commit3b7511f9219038110e5b464f197266564e2f8c76
tree5608cd966e124eec350996a08c760328f2af49e7
parent33ff5dda9fe0dd67216ec38a6b1143d9adc3948a
[PR 82363] Fix thinko in SRA subaccess propagation

2017-10-03  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/82363
* tree-sra.c (propagate_subaccesses_across_link): In unrecoverable
mismatch, mark lacc written regardless of racc.

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

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