params.def (PARAM_SALIAS_MAX_IMPLICIT_FIELDS): New
authorDaniel Berlin <dberlin@dberlin.org>
Wed, 6 Apr 2005 20:03:15 +0000 (20:03 +0000)
committerDaniel Berlin <dberlin@gcc.gnu.org>
Wed, 6 Apr 2005 20:03:15 +0000 (20:03 +0000)
commit31617ef157295022ea07d3874d0ba457f14bc4bd
tree6a06c9e86888c19907695323e00a5fc66d7d3ed5
parent4e9944320fd51bb3b61bff832f01614156f75cb8
params.def (PARAM_SALIAS_MAX_IMPLICIT_FIELDS): New

2005-04-06  Daniel Berlin  <dberlin@dberlin.org>

* params.def (PARAM_SALIAS_MAX_IMPLICIT_FIELDS): New
* params.h (SALIAS_MAX_IMPLICIT_FIELDS): New
* doc/invoke.texi: Documnet salias-max-implicit-fields.
* tree-ssa-alias.c (struct used_part): Add implicit_uses and
explicit_uses members.
(get_or_create_used_part_for): Initialize new fields.
(fieldoff_compare): New function.
(create_overlap_variables_for): Count number of fields, use
heuristic to determine whether to create subvars for vars with
only implicit uses.
Sort the field list by offset and avoid creating duplicate SFT's.

From-SVN: r97746
gcc/ChangeLog
gcc/doc/invoke.texi
gcc/params.def
gcc/params.h
gcc/tree-ssa-alias.c