diff options
author | Richard Guenther <rguenther@suse.de> | 2009-06-19 16:47:35 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2009-06-19 16:47:35 +0000 |
commit | 779704e7cf116eb261248a30d8b7d57157532a58 (patch) | |
tree | 115043f9abcfc58fee3a9e901196c7d3eba9702f /gcc/tree-cfg.c | |
parent | 217655da6f8d9c11e77452d5b4ed421205716bac (diff) | |
download | gcc-779704e7cf116eb261248a30d8b7d57157532a58.zip gcc-779704e7cf116eb261248a30d8b7d57157532a58.tar.gz gcc-779704e7cf116eb261248a30d8b7d57157532a58.tar.bz2 |
tree-ssa-alias.c (ptr_deref_may_alias_decl_p): Handle ADDR_EXPR pointers.
2009-06-19 Richard Guenther <rguenther@suse.de>
* tree-ssa-alias.c (ptr_deref_may_alias_decl_p): Handle
ADDR_EXPR pointers.
(ptr_derefs_may_alias_p): Likewise.
(ptr_deref_may_alias_ref_p_1): New function.
(ptr_deref_may_alias_ref_p): Likewise.
(ref_maybe_used_by_call_p_1): Handle builtins that are not
covered by looking at the ESCAPED solution.
(call_may_clobber_ref_p_1): Likewise.
* tree-ssa-structalias.c (get_constraint_for_ptr_offset):
Handle NULL_TREE offset. Do not produce redundant constraints.
(process_all_all_constraints): New helper function.
(do_structure_copy): Use it.
(handle_lhs_call): Likewise.
(find_func_aliases): Handle some builtins with pointer arguments
and/or return values explicitly.
* gcc.c-torture/execute/20090618-1.c: New testcase.
From-SVN: r148718
Diffstat (limited to 'gcc/tree-cfg.c')
0 files changed, 0 insertions, 0 deletions