https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90869
--- Comment #2 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Author: hubicka Date: Thu Jun 13 15:00:41 2019 New Revision: 272247 URL: https://gcc.gnu.org/viewcvs?rev=272247&root=gcc&view=rev Log: 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. Added: trunk/gcc/testsuite/g++.dg/tree-ssa/alias-access-path-1.C Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-alias.c