diff options
author | Richard Guenther <rguenther@suse.de> | 2008-07-04 09:34:36 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2008-07-04 09:34:36 +0000 |
commit | 0e1f4c6b6f0b65285af7f34443c29c7074736d1c (patch) | |
tree | c246ed79651a3ea0f60e636497df49b18fcf12da /gcc/opts.c | |
parent | 0b4b69ef79271e8e6a2dfa2eaa3376a75fa05d03 (diff) | |
download | gcc-0e1f4c6b6f0b65285af7f34443c29c7074736d1c.zip gcc-0e1f4c6b6f0b65285af7f34443c29c7074736d1c.tar.gz gcc-0e1f4c6b6f0b65285af7f34443c29c7074736d1c.tar.bz2 |
tree-ssa-structalias.c (lookup_vi_for_tree): Declare.
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.
From-SVN: r137453
Diffstat (limited to 'gcc/opts.c')
-rw-r--r-- | gcc/opts.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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) |