re PR tree-optimization/90869 (Non-disambiguated memory accesses)
authorJan Hubicka <hubicka@ucw.cz>
Thu, 13 Jun 2019 15:00:41 +0000 (17:00 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 13 Jun 2019 15:00:41 +0000 (15:00 +0000)
commit983acf87d6ce85034448b8f654de457c50617090
tree6075c4952eba390990b2664a93c58112b154e596
parent9bc83b61ff2b3353934704befe02c2262c48d2bc
re PR tree-optimization/90869 (Non-disambiguated memory accesses)

PR tree-optimize/90869
* tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Watch for view
converts in MEM_REF referencing decl rather than view converts
from decl type to MEM_REF type.

* g++.dg/tree-ssa/alias-access-path-1.C: New testcase.

From-SVN: r272247
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tree-ssa/alias-access-path-1.C [new file with mode: 0644]
gcc/tree-ssa-alias.c