2015-03-06 Richard Biener <rguenther@suse.de>
commit78775228160bbbd8ec2a7bdc9d441c5dc072e9df
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 Mar 2015 12:34:28 +0000 (6 12:34 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 Mar 2015 12:34:28 +0000 (6 12:34 +0000)
tree4296be3815c3cf0efbf1c6964f960cee0eedb0f1
parent5ed3e7ae44fc993b5d5dc3a1335902e74e00d58c
2015-03-06  Richard Biener  <rguenther@suse.de>

PR middle-end/64928
* tree-ssa-live.h (struct tree_live_info_d): Add livein_obstack
and liveout_obstack members.
(calculate_live_on_exit): Remove.
(calculate_live_ranges): Change declaration.
* tree-ssa-live.c (liveness_bitmap_obstack): Remove global var.
(new_tree_live_info): Adjust.
(calculate_live_ranges): Delete livein when not wanted.
(calculate_live_ranges): Do not initialize liveness_bitmap_obstack.
Deal with partly deleted live info.
(loe_visit_block): Remove temporary bitmap by using
bitmap_ior_and_compl_into.
(live_worklist): Adjust accordingly.
(calculate_live_on_exit): Make static.
* tree-ssa-coalesce.c (coalesce_ssa_name): Tell calculate_live_ranges
we do not need livein.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221237 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-ssa-coalesce.c
gcc/tree-ssa-live.c
gcc/tree-ssa-live.h