re PR tree-optimization/91180 (wrong code at -O and above with __builtin_memset())
authorRichard Biener <rguenther@suse.de>
Wed, 17 Jul 2019 09:35:04 +0000 (09:35 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 17 Jul 2019 09:35:04 +0000 (09:35 +0000)
commit9505acd8501e6c79bc4fa9ed9f1ee174462601d1
treeb5250d388dead0757e285297d4abafbd7883ae78
parent5d688cb2777e72256ea373355e707b95ab08ac80
re PR tree-optimization/91180 (wrong code at -O and above with __builtin_memset())

2019-07-17  Richard Biener  <rguenther@suse.de>

PR tree-optimization/91180
* tree-ssa-sccvn.c (vn_reference_lookup_3): Fix offset
computation for memset partial defs.

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

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