diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2019-06-07 10:14:04 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2019-06-07 08:14:04 +0000 |
commit | 06dd9b3d4e86b2c12ba55144147272ac05eeed40 (patch) | |
tree | bcae61cc6b9edd79728bdaf5e9785f3b7ddba52b /gcc/tree.c | |
parent | 6c202d9dc65833e04e35f566c645fde8278c1a24 (diff) | |
download | gcc-06dd9b3d4e86b2c12ba55144147272ac05eeed40.zip gcc-06dd9b3d4e86b2c12ba55144147272ac05eeed40.tar.gz gcc-06dd9b3d4e86b2c12ba55144147272ac05eeed40.tar.bz2 |
Make aliasing_component_refs_p to work harder when same_type_for_tbaa returns -1
* tree-ssa-alias.c (aliasing_component_refs_p): Do not give up
immediately after same_types_for_tbaa_p returns -1 and continue
looking for possible exact match; if matching types are arrays
watch for partial overlaps.
(indirect_ref_may_alias_decl_p): Watch for partial array overlaps.
(indirect_refs_may_alias_p): Do type based disambiguation first;
update comment.
* gcc.dg/lto/alias-access-path-2.0.c: New testcase.
From-SVN: r272036
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions