* tree-phinode.c (resize_phi_node): Abort when LEN is strictly
commitcc8906499e23db95dadc366cfba27029b27864b5
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Nov 2004 17:45:50 +0000 (23 17:45 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Nov 2004 17:45:50 +0000 (23 17:45 +0000)
tree5276b730983237b937ef366760754e81460875fc
parent646a946e7a29d3189d190c3996a146af827a5586
* tree-phinode.c (resize_phi_node): Abort when LEN is strictly
greater than PHI_ARG_CAPACITY.
(reserve_phi_args_for_new_edge): Initialize the new PHI
argument to NULL_TREE.  Increment PHI_NUM_ARGS.
(add_phi_arg): Add a PHI argument to the slot given by
E->dest_idx.
(remove_phi_arg_num): Do not write to PHI_ARG_EDGE.
* tree-flow-inline (phi_arg_from_edge): Return E->dest_idx.
* tree-ssa.c (ssa_redirect_edge): Check for a missing PHI
argument by looking at PHI_ARG_DEF.
(verify_phi_args): Check for a missing PHI argument.  Remove
the check for duplicate PHI arguments.
* tree.h (PHI_ARG_EDGE): Redefine in terms of EDGE_PRED.
(phi_arg_d): Remove e.

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