Commit bf103ec2 by J"orn Rennecke Committed by Joern Rennecke

combine.c (recog_for_combine): Allocate uninitialized vector with rtvec_alloc.

	* combine.c (recog_for_combine): Allocate uninitialized vector with
	rtvec_alloc.
	* recog.c (apply_change_group): Likewise.

From-SVN: r37285
parent c762163e
Tue Nov 7 06:29:24 2000 J"orn Rennecke <amylaar@redhat.com>
* combine.c (recog_for_combine): Allocate uninitialized vector with
rtvec_alloc.
* recog.c (apply_change_group): Likewise.
Tue Nov 7 06:24:02 2000 J"orn Rennecke <amylaar@redhat.com> Tue Nov 7 06:24:02 2000 J"orn Rennecke <amylaar@redhat.com>
* flow.c (verify_local_live_at_start): Back out last change. * flow.c (verify_local_live_at_start): Back out last change.
......
...@@ -9680,7 +9680,7 @@ recog_for_combine (pnewpat, insn, pnotes) ...@@ -9680,7 +9680,7 @@ recog_for_combine (pnewpat, insn, pnotes)
if (num_clobbers_to_add) if (num_clobbers_to_add)
{ {
rtx newpat = gen_rtx_PARALLEL (VOIDmode, rtx newpat = gen_rtx_PARALLEL (VOIDmode,
gen_rtvec (GET_CODE (pat) == PARALLEL rtvec_alloc (GET_CODE (pat) == PARALLEL
? (XVECLEN (pat, 0) ? (XVECLEN (pat, 0)
+ num_clobbers_to_add) + num_clobbers_to_add)
: num_clobbers_to_add + 1)); : num_clobbers_to_add + 1));
......
...@@ -335,7 +335,7 @@ apply_change_group () ...@@ -335,7 +335,7 @@ apply_change_group ()
newpat newpat
= gen_rtx_PARALLEL (VOIDmode, = gen_rtx_PARALLEL (VOIDmode,
gen_rtvec (XVECLEN (pat, 0) - 1)); rtvec_alloc (XVECLEN (pat, 0) - 1));
for (j = 0; j < XVECLEN (newpat, 0); j++) for (j = 0; j < XVECLEN (newpat, 0); j++)
XVECEXP (newpat, 0, j) = XVECEXP (pat, 0, j); XVECEXP (newpat, 0, j) = XVECEXP (pat, 0, j);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment