re PR tree-optimization/67955 (tree-dse does not use pointer info)
authorJeff Law <law@redhat.com>
Wed, 4 Jan 2017 19:22:44 +0000 (12:22 -0700)
committerJeff Law <law@gcc.gnu.org>
Wed, 4 Jan 2017 19:22:44 +0000 (12:22 -0700)
commit8194635af7f9974ab436603f5c253db110432e8c
treec37c49ade4a80b43b518dcb118ddd3258e2f5b90
parentbaf9ebc8cc9c34becea5be1146c48e2cb99d2ea5
re PR tree-optimization/67955 (tree-dse does not use pointer info)

PR tree-optimizatin/67955
* tree-ssa-alias.c (same_addr_size_stores_p): Check offsets first.
Allow any SSA_VAR_P as the base objects.  Use integer_zerop.  Verify
the points-to solution does not include pt_null.  Use DECL_PT_UID
unconditionally.

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

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