diff options
author | dberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-06 20:03:15 +0000 |
---|---|---|
committer | dberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-06 20:03:15 +0000 |
commit | 726e114ce3badf8d02ba54e38ade3dda51039831 (patch) | |
tree | 6a06c9e86888c19907695323e00a5fc66d7d3ed5 /gcc/params.h | |
parent | 98b93ebbf48d3a2d9cfaa36b6c8ab35aad923be4 (diff) | |
download | gcc-726e114ce3badf8d02ba54e38ade3dda51039831.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97746 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/params.h')
-rw-r--r-- | gcc/params.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/params.h b/gcc/params.h index 1f57a0f91a0..0f872d031d0 100644 --- a/gcc/params.h +++ b/gcc/params.h @@ -89,6 +89,8 @@ typedef enum compiler_param (compiler_params[(int) ENUM].value) /* Macros for the various parameters. */ +#define SALIAS_MAX_IMPLICIT_FIELDS \ + PARAM_VALUE (PARAM_SALIAS_MAX_IMPLICIT_FIELDS) #define SRA_MAX_STRUCTURE_SIZE \ PARAM_VALUE (PARAM_SRA_MAX_STRUCTURE_SIZE) #define SRA_FIELD_STRUCTURE_RATIO \ |