tree-ssa-sccvn.c (ao_ref_init_from_vn_reference): Get original full reference tree...
authorRichard Biener <rguenther@suse.de>
Mon, 3 Jun 2019 10:45:38 +0000 (10:45 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 3 Jun 2019 10:45:38 +0000 (10:45 +0000)
commit1be54209b30e4ace3ec771f2dfab687d451fbbf8
treee68d721fcca49cd4a4f23f6dd97dfa936bc41916
parent4c76ebd05b41db96913d818b28668f8a530340e4
tree-ssa-sccvn.c (ao_ref_init_from_vn_reference): Get original full reference tree and record in ref->ref.

2019-06-03  Richard Biener  <rguenther@suse.de>

* tree-ssa-sccvn.c (ao_ref_init_from_vn_reference): Get original
full reference tree and record in ref->ref.
(vn_reference_lookup_3): Pass in original ref to
ao_ref_init_from_vn_reference.
(vn_reference_lookup): Likewise.
* tree-ssa-sccvn.h (ao_ref_init_from_vn_reference): Adjust prototype.
* tree-ssa-alias.c (nonoverlapping_component_refs_of_decl_p):
Handle non-decl bases in the original reference.

* gcc.dg/tree-ssa/alias-access-path-1.c: Scan fre1.

From-SVN: r271860
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/alias-access-path-1.c
gcc/tree-ssa-alias.c
gcc/tree-ssa-sccvn.c
gcc/tree-ssa-sccvn.h