aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
authorJ"orn Rennecke <amylaar@redhat.com>2000-11-07 06:36:12 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>2000-11-07 06:36:12 +0000
commitbf103ec201124f0e3179d4de04002c3f25c5832a (patch)
tree79dd200ec5d41a8152058359b5c7bc0198fff93f /gcc/combine.c
parentc762163eba799f5cf9a48a017640c60a65dc107c (diff)
downloadgcc-bf103ec201124f0e3179d4de04002c3f25c5832a.zip
gcc-bf103ec201124f0e3179d4de04002c3f25c5832a.tar.gz
gcc-bf103ec201124f0e3179d4de04002c3f25c5832a.tar.bz2
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
Diffstat (limited to 'gcc/combine.c')
-rw-r--r--gcc/combine.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/combine.c b/gcc/combine.c
index 33de90c..7005367 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -9680,10 +9680,10 @@ recog_for_combine (pnewpat, insn, pnotes)
if (num_clobbers_to_add)
{
rtx newpat = gen_rtx_PARALLEL (VOIDmode,
- gen_rtvec (GET_CODE (pat) == PARALLEL
- ? (XVECLEN (pat, 0)
- + num_clobbers_to_add)
- : num_clobbers_to_add + 1));
+ rtvec_alloc (GET_CODE (pat) == PARALLEL
+ ? (XVECLEN (pat, 0)
+ + num_clobbers_to_add)
+ : num_clobbers_to_add + 1));
if (GET_CODE (pat) == PARALLEL)
for (i = 0; i < XVECLEN (pat, 0); i++)