re PR tree-optimization/67955 (tree-dse does not use pointer info)
authorTom de Vries <tom@codesourcery.com>
Tue, 6 Dec 2016 23:18:17 +0000 (23:18 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 6 Dec 2016 23:18:17 +0000 (16:18 -0700)
commit8194dcdd37de477dcb0be39d912a7eb1d465a2c4
treecdfd7ffd14ae7f74519400f89ffe5243b71aeb31
parent6b8805cfce8847a0d944150845cb908b6ee0ba57
re PR tree-optimization/67955 (tree-dse does not use pointer info)

PR tree-optimization/67955
* tree-ssa-alias.c (same_addr_size_stores_p): New function.
(stmt_kills_ref_p): Use it.

PR tree-optimization/67955
* gcc.dg/tree-ssa/dse-points-to.c: New test.

From-SVN: r243325
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/dse-points-to.c [new file with mode: 0644]
gcc/tree-ssa-alias.c