diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-07-04 09:34:36 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-07-04 09:34:36 +0000 |
commit | fc733d7acdfa8558f385da0510f03abde53c8565 (patch) | |
tree | c246ed79651a3ea0f60e636497df49b18fcf12da /gcc/opts.c | |
parent | 92667ff7f2525ea5d9422fb2e7a472bbf0386020 (diff) | |
download | gcc-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.c | 3 |
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) |