summaryrefslogtreecommitdiff
path: root/gcc/params.h
diff options
context:
space:
mode:
authorDaniel Berlin <dberlin@dberlin.org>2005-04-06 20:03:15 +0000
committerDaniel Berlin <dberlin@gcc.gnu.org>2005-04-06 20:03:15 +0000
commit31617ef157295022ea07d3874d0ba457f14bc4bd (patch)
tree6a06c9e86888c19907695323e00a5fc66d7d3ed5 /gcc/params.h
parent4e9944320fd51bb3b61bff832f01614156f75cb8 (diff)
downloadgcc-31617ef157295022ea07d3874d0ba457f14bc4bd.tar.gz
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
Diffstat (limited to 'gcc/params.h')
-rw-r--r--gcc/params.h2
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 \