diff options
author | dberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-19 18:26:00 +0000 |
---|---|---|
committer | dberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-19 18:26:00 +0000 |
commit | bdf4f1428e5961c366d7b7f0c30c3b691160f4dd (patch) | |
tree | 05d78ede2903b096a832aaebd005c6044c193a98 /gcc/common.opt | |
parent | ea98fecd5da2e6c42a24a440e9633e57b5cd8f2a (diff) | |
download | gcc-bdf4f1428e5961c366d7b7f0c30c3b691160f4dd.tar.gz |
2006-02-19 Daniel Berlin <dberlin@dberlin.org>
* doc/invoke.texi: Document -fipa-pta.
* common.opt: Add ipa-pta option.
* tree-ssa-structalias.c (DONT_PROPAGATE_WITH_ANYTHING): Removed.
(do_sd_constraint): Enable DONT_PROPAGATE_WITH_ANYTHING code.
(do_ds_constraint): Ditto.
(get_constraint_for): Only add to referenced_vars if
referenced_vars exists.
(insert_into_field_list): Rewrite to do this unsorted.
(insert_into_field_list_sorted): Rename old insert_into_field_list
to this.
(create_function_info_for): Use insert_into_field_list_sorted.
(create_variable_info_for): Rewrite so it uses unsorted version,
since the field list is sorted.
(intra_create_variable_infos): Only add to referenced_vars if
referenced_vars exists.
(ipa_pta_execute): Init heapvars, and delete when done.
* passes.c (init_optimization_passes): Add call to pass_ipa_pta.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111273 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/common.opt')
-rw-r--r-- | gcc/common.opt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/common.opt b/gcc/common.opt index c7e68994234..448c6bccc7c 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -523,6 +523,10 @@ fipa-pure-const Common Report Var(flag_ipa_pure_const) Init(0) Discover pure and const functions +fipa-pta +Common Report Var(flag_ipa_pta) Init(0) +Perform interprocedural points-to analysis + fipa-reference Common Report Var(flag_ipa_reference) Init(0) Discover readonly and non addressable static variables |