Fix memory leaks in tree-ssa-uninit.c
authorMartin Liska <mliska@suse.cz>
Wed, 18 Nov 2015 09:00:58 +0000 (10:00 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 18 Nov 2015 09:00:58 +0000 (09:00 +0000)
commita4f0c29da8489f5c1f83597edfc77c65cb59858c
tree1810fdda09b85b19dcc8e8a10725949f7e17162f
parent0b176958df07659d96bf1ae3f42cf4607161bd1d
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.

From-SVN: r230519
gcc/ChangeLog
gcc/tree-ssa-uninit.c