mirror of
https://gcc.gnu.org/git/gcc.git
synced 2025-01-19 10:54:04 +08:00
* genemit.c (gen_expand): Allocate enough memory.
From-SVN: r118762
This commit is contained in:
parent
3e806a3df4
commit
7180bcb13f
@ -1,3 +1,7 @@
|
||||
2006-11-13 Michael Matz <matz@suse.de>
|
||||
|
||||
* genemit.c (gen_expand): Allocate enough memory.
|
||||
|
||||
2006-11-13 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* config/arm/bpapi.h (TARGET_BPABI_CPP_BUILTINS): Define
|
||||
|
@ -534,7 +534,8 @@ gen_expand (rtx expand)
|
||||
Use emit_insn to add them to the sequence being accumulated.
|
||||
But don't do this if the user's code has set `no_more' nonzero. */
|
||||
|
||||
used = XCNEWVEC (char, operands);
|
||||
used = XCNEWVEC (char,
|
||||
MAX (operands, MAX (max_scratch_opno, max_dup_opno) + 1));
|
||||
|
||||
for (i = 0; i < XVECLEN (expand, 1); i++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user