From fc733d7acdfa8558f385da0510f03abde53c8565 Mon Sep 17 00:00:00 2001 From: rguenth Date: Fri, 4 Jul 2008 09:34:36 +0000 Subject: 2008-07-04 Richard Guenther * 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 --- gcc/opts.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc/opts.c') 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) -- cgit v1.2.1