aboutsummaryrefslogtreecommitdiff
path: root/gcc/recog.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/recog.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/recog.c')
-rw-r--r--gcc/recog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/recog.c b/gcc/recog.c
index 1d5a8a6..b8b532e 100644
--- a/gcc/recog.c
+++ b/gcc/recog.c
@@ -335,7 +335,7 @@ apply_change_group ()
newpat
= gen_rtx_PARALLEL (VOIDmode,
- gen_rtvec (XVECLEN (pat, 0) - 1));
+ rtvec_alloc (XVECLEN (pat, 0) - 1));
for (j = 0; j < XVECLEN (newpat, 0); j++)
XVECEXP (newpat, 0, j) = XVECEXP (pat, 0, j);
}