* tree-ssa-pre.c (alloc_expression_id): Fix use of VEC_reserve.
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Aug 2012 09:27:31 +0000 (09:27 +0000)
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Aug 2012 09:27:31 +0000 (09:27 +0000)
commit2670407eeb06bfea4035c77e01b04430c69f55e3
tree36d238929fded9774c6d13509cfb2761c743b8bc
parent03d37e4ed640ac104b8c982da5e9bd6fb1c3e6b9
* tree-ssa-pre.c (alloc_expression_id): Fix use of VEC_reserve.
* tree-into-ssa.c (get_ssa_name_ann): Likewise.
(mark_phi_for_rewrite): Likewise.
(compute_global_livein): Use VEC_reserve outside the innermost
loop and VEC_quick_push instead of VEC_safe_push in that loop.
(update_ssa): Re-organize to avoid unnecessary sbitmap_zero'ing
of new_ssa_names and old_ssa_names.  Allocate phis_to_rewrite to
the correct initial size.

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