diff options
author | Richard Guenther <rguenther@suse.de> | 2010-10-14 15:51:15 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2010-10-14 15:51:15 +0000 |
commit | 7d36e53818f31ab207c545d0c273fd9edca6ff09 (patch) | |
tree | 136f40349648fdc45c3adcb47ada09856e717076 /gcc/tree-ssa-alias.h | |
parent | 180f8dbbb3361ce1728425ba7537e401f595f866 (diff) | |
download | gcc-7d36e53818f31ab207c545d0c273fd9edca6ff09.zip gcc-7d36e53818f31ab207c545d0c273fd9edca6ff09.tar.gz gcc-7d36e53818f31ab207c545d0c273fd9edca6ff09.tar.bz2 |
re PR tree-optimization/44913 (-ftree-vectorize causes FAIL: gcc.dg/pr44838.c execution test)
2010-10-14 Richard Guenther <rguenther@suse.de>
PR tree-optimization/44913
* tree-data-ref.c (disjoint_objects_p): Remove.
(dr_may_alias_p): Simplify. Only hand the base object to
the alias-oracle.
* tree-ssa-alias.c (ptr_deref_may_alias_decl_p): Handle
some more trees, bail out instead of asserting.
(ptr_derefs_may_alias_p): Likewise. Export.
(refs_may_alias_p_1): Handle STRING_CSTs.
* tree-ssa-alias.h (ptr_derefs_may_alias_p): Declare.
* gcc.dg/torture/pr44913.c: New testcase.
From-SVN: r165473
Diffstat (limited to 'gcc/tree-ssa-alias.h')
-rw-r--r-- | gcc/tree-ssa-alias.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-ssa-alias.h b/gcc/tree-ssa-alias.h index 1f22076..a97ba69 100644 --- a/gcc/tree-ssa-alias.h +++ b/gcc/tree-ssa-alias.h @@ -97,6 +97,7 @@ extern void ao_ref_init_from_ptr_and_size (ao_ref *, tree, tree); extern tree ao_ref_base (ao_ref *); extern alias_set_type ao_ref_alias_set (ao_ref *); extern bool ptr_deref_may_alias_global_p (tree); +extern bool ptr_derefs_may_alias_p (tree, tree); extern bool refs_may_alias_p (tree, tree); extern bool refs_may_alias_p_1 (ao_ref *, ao_ref *, bool); extern bool refs_anti_dependent_p (tree, tree); |