Fix memory leaks in tree-ssa-uninit.c
commitb712a40f742ec5d6fad8645515643fcd71a5aff3
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Nov 2015 09:00:58 +0000 (18 09:00 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Nov 2015 09:00:58 +0000 (18 09:00 +0000)
tree1810fdda09b85b19dcc8e8a10725949f7e17162f
parentebacf0e35be407ef9edb5fb8900ebea102e77acc
Fix memory leaks in tree-ssa-uninit.c

* tree-ssa-uninit.c (convert_control_dep_chain_into_preds):
Fix GNU coding style.
(find_def_preds): Use auto_vec.
(destroy_predicate_vecs): Change signature of the function.
(prune_uninit_phi_opnds_in_unrealizable_paths): Use the
new signature.
(simplify_preds_4): Use destroy_predicate_vecs instread of
just releasing preds vector.
(normalize_preds): Likewise.
(is_use_properly_guarded): Use new signature of
destroy_predicate_vecs.
(find_uninit_use): Likewise.

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