2016-12-05 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
commit381f8687e0b0fde047f7e4c9053842d3e6c1fa3a
authorwschmidt <wschmidt@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Dec 2016 21:48:27 +0000 (5 21:48 +0000)
committerwschmidt <wschmidt@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Dec 2016 21:48:27 +0000 (5 21:48 +0000)
tree0a5f62e2cc37663d0612d60f94a404ce5ea2ff31
parent9cfd1f80e98a74f86723310f0bc822e41d6c25da
2016-12-05  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
    Stefan Freudenberger  <stefan@reservoir.com>

PR tree-optimization/78646
* gimple-ssa-strength-reduction.c (replace_ref): The pointer
addition used for the memory base expression should have the type
of the candidate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@243272 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gimple-ssa-strength-reduction.c