r230519 - in /trunk/gcc: ChangeLog tree-ssa-uni...
marxin@gcc.gnu.org
marxin@gcc.gnu.org
Wed Nov 18 09:00:00 GMT 2015
Author: marxin
Date: Wed Nov 18 09:00:58 2015
New Revision: 230519
URL: https://gcc.gnu.org/viewcvs?rev=230519&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-ssa-uninit.c
More information about the Gcc-cvs
mailing list