OSDN Git Service

* ipa-reference.c (ipa_reference_local_vars_info_d): Remove
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Jun 2010 02:04:20 +0000 (02:04 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Jun 2010 02:04:20 +0000 (02:04 +0000)
commitd2d7349216dfd1f56c48ed34129f456782566899
tree81892a998164b354d20e66f69a7900cd6791aefd
parent26a29746a8228e1e992865502de1153db3e1a427
* ipa-reference.c (ipa_reference_local_vars_info_d): Remove
calls_read_all and calls_write_all.
(get_reference_optimization_summary): Fix formatting.
(is_proper_for_analysis): Check that decl is not readonly.
(propagate_bits): Check CONST/PURE/noreturn flags.
(ipa_init): Move all_module_statics to optimization_summary_obstack.
(analyze_function): Ignore indirect edges.
(copy_global_bitmap): For all module statics, do nothing.
(generate_summary): Do not print calls_read_all/calls_write_all.
(read_write_all_from_decl): Take node as argument; check
cgraph_node_cannot_return.
(propagate): Reorganize read_all/write_all computation;
check indirect edges; check ecf flags; use all_module_statics
in the results; do not free all_module_statics.
(stream_out_bitmap): Handle all_module_statics.
(ipa_reference_write_optimization_summary): Likewise; use
varpool/cgraph encoders to get boundaries.
(ipa_reference_read_optimization_summary): Read in all_module_statics;
use it when possible.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160204 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ipa-reference.c