diff options
author | Jakub Jelinek <jakub@redhat.com> | 2017-07-17 11:10:23 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2017-07-17 11:10:23 +0200 |
commit | e8dd1313132e5aaa4c66b0bd2135919707dc45b6 (patch) | |
tree | ab28fd58473d7498affb0856f0fba16c2c508561 /gcc/tree-loop-distribution.c | |
parent | 764eec6cf591fcfe9bd0fe7760ecb657cfa6abc0 (diff) | |
download | gcc-e8dd1313132e5aaa4c66b0bd2135919707dc45b6.zip gcc-e8dd1313132e5aaa4c66b0bd2135919707dc45b6.tar.gz gcc-e8dd1313132e5aaa4c66b0bd2135919707dc45b6.tar.bz2 |
re PR tree-optimization/81365 (GCC miscompiles swap)
PR tree-optimization/81365
* tree-ssa-phiprop.c (propagate_with_phi): When considering hoisting
aggregate moves onto bb predecessor edges, make sure there are no
loads that could alias the lhs in between the start of bb and the
loads from *phi.
* g++.dg/torture/pr81365.C: New test.
From-SVN: r250261
Diffstat (limited to 'gcc/tree-loop-distribution.c')
0 files changed, 0 insertions, 0 deletions