aboutsummaryrefslogtreecommitdiff
path: root/gcc/params.h
diff options
context:
space:
mode:
authorDaniel Berlin <dberlin@dberlin.org>2006-02-14 14:49:13 +0000
committerDaniel Berlin <dberlin@gcc.gnu.org>2006-02-14 14:49:13 +0000
commit98035a75ac5fca6590f63d08aa3a4914809a8855 (patch)
tree9329bdf3c2d31755066d0772b7438f632c1ca28f /gcc/params.h
parentb076a3fd749f2060d33c477c70e18ed24ce83d96 (diff)
downloadgcc-98035a75ac5fca6590f63d08aa3a4914809a8855.zip
gcc-98035a75ac5fca6590f63d08aa3a4914809a8855.tar.gz
gcc-98035a75ac5fca6590f63d08aa3a4914809a8855.tar.bz2
re PR tree-optimization/26260 (PTA is slow with large structs (hits clisp))
2006-02-14 Daniel Berlin <dberlin@dberlin.org> Fix PR tree-optimization/26260 * doc/invoke.texi (max-fields-for-field-sensitive): Document param. * params.h (MAX_FIELDS_FOR_FIELD_SENSITIVE): New. * params.def (PARAM_MAX_FIELDS_FOR_FIELD_SENSITIVE): Ditto. * tree-ssa-structalias.c (create_variable_info_for): Use MAX_FIELDS_FOR_FIELD_SENSITIVE. From-SVN: r110972
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 f641939..aafafe1 100644
--- a/gcc/params.h
+++ b/gcc/params.h
@@ -147,4 +147,6 @@ typedef enum compiler_param
PARAM_VALUE (PARAM_MIN_VIRTUAL_MAPPINGS)
#define VIRTUAL_MAPPINGS_TO_SYMS_RATIO \
PARAM_VALUE (PARAM_VIRTUAL_MAPPINGS_TO_SYMS_RATIO)
+#define MAX_FIELDS_FOR_FIELD_SENSITIVE \
+ ((size_t) PARAM_VALUE (PARAM_MAX_FIELDS_FOR_FIELD_SENSITIVE))
#endif /* ! GCC_PARAMS_H */