diff options
author | Jan Hubicka <jh@suse.cz> | 2009-10-22 13:40:18 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2009-10-22 11:40:18 +0000 |
commit | c59f5d1b644b6ed16a06410dd0fe4055a8a37bd1 (patch) | |
tree | 0ab06e5072b8d0118d4bed1aa031422e8dd59204 /gcc/tree-cfg.c | |
parent | fb3f88cc0d34f3f03e81e2e6d0a7c2c56d87f13d (diff) | |
download | gcc-c59f5d1b644b6ed16a06410dd0fe4055a8a37bd1.zip gcc-c59f5d1b644b6ed16a06410dd0fe4055a8a37bd1.tar.gz gcc-c59f5d1b644b6ed16a06410dd0fe4055a8a37bd1.tar.bz2 |
re PR tree-optimization/40556 (ICE in IPA-CP with recursion)
PR tree-optimize/40556
* ipa-reference.c (has_proper_scope_for_analysis): Add fixme about global vars.
(check_call): Handle only indirect calls.
(propagate_bits): Update comment.
(write_node_summary_p): Turn bogus check to assert.
(ipa_reference_write_summary): Stream calls_read_all properly.
(ipa_reference_read_summary): Stream in calls_read_all properly.
(read_write_all_from_decl): New function.
(propagate): Handle OVERWRITABLE nodes and external calls here.
* ipa-pre-const.c (check_call): In IPA mode handle indirect calls
only.
(analyze_function): Do not check visibility here.
(add_new_function): We summary OVERWRITABLE too.
(generate_summary): Stream OVERWRITABLE nodes too.
(propagate): Handle external calls and OVERWRITABLE nodes here.
(local_pure_const): Check visibility here.
From-SVN: r153450
Diffstat (limited to 'gcc/tree-cfg.c')
0 files changed, 0 insertions, 0 deletions