re PR tree-optimization/88223 (Wrong code for intrinsic memmove)
authorRichard Biener <rguenther@suse.de>
Wed, 28 Nov 2018 13:51:42 +0000 (13:51 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 28 Nov 2018 13:51:42 +0000 (13:51 +0000)
commit2bf8ae1b3d539eb7170eba9336d06b8383c3eba2
tree2e2738cd6f383fc65c0d5abaece478217a39c370
parent5916922e348b0ae5bc1f308b5de9c75ffd20c339
re PR tree-optimization/88223 (Wrong code for intrinsic memmove)

2018-11-28  Richard Biener  <rguenther@suse.de>

PR tree-optimization/88223
* tree-ssa-sccvn.c (vn_reference_lookup_3): When skipping
over a stored-same value may-alias store make sure to consider
partial overlaps which are valid when TBAA reasonings do not
apply and byte-granular overlaps are possible at all.

* gcc.dg/torture/pr88223.c: New testcase.

From-SVN: r266560
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr88223.c [new file with mode: 0644]
gcc/tree-ssa-sccvn.c