summaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2008-07-04 09:34:36 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2008-07-04 09:34:36 +0000
commitfc733d7acdfa8558f385da0510f03abde53c8565 (patch)
treec246ed79651a3ea0f60e636497df49b18fcf12da /gcc/opts.c
parent92667ff7f2525ea5d9422fb2e7a472bbf0386020 (diff)
downloadgcc-fc733d7acdfa8558f385da0510f03abde53c8565.tar.gz
2008-07-04 Richard Guenther <rguenther@suse.de>
* tree-ssa-structalias.c (lookup_vi_for_tree): Declare. (do_sd_constraint): Handle a dereference of ESCAPED and CALLUSED properly to compute the reachability set if we do field-sensitive PTA. * invoke.texi (max-fields-for-field-sensitive): Document default. * opts.c (decode_options): Set max-fields-for-field-sensitive to 100 for optimize >= 2. * gcc.dg/tree-ssa/pta-callused.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137453 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/opts.c')
-rw-r--r--gcc/opts.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/opts.c b/gcc/opts.c
index 0bea9e4e94b..c26260acdd7 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -903,6 +903,9 @@ decode_options (unsigned int argc, const char **argv)
/* Allow more virtual operators to increase alias precision. */
set_param_value ("max-aliased-vops", 500);
+
+ /* Track fields in field-sensitive alias analysis. */
+ set_param_value ("max-fields-for-field-sensitive", 100);
}
if (optimize >= 3)