Commit 7180bcb1 by Michael Matz Committed by Michael Matz

* genemit.c (gen_expand): Allocate enough memory.

From-SVN: r118762
parent 3e806a3d
2006-11-13 Michael Matz <matz@suse.de>
* genemit.c (gen_expand): Allocate enough memory.
2006-11-13 Joseph Myers <joseph@codesourcery.com> 2006-11-13 Joseph Myers <joseph@codesourcery.com>
* config/arm/bpapi.h (TARGET_BPABI_CPP_BUILTINS): Define * config/arm/bpapi.h (TARGET_BPABI_CPP_BUILTINS): Define
......
...@@ -534,7 +534,8 @@ gen_expand (rtx expand) ...@@ -534,7 +534,8 @@ gen_expand (rtx expand)
Use emit_insn to add them to the sequence being accumulated. 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. */ 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++) for (i = 0; i < XVECLEN (expand, 1); i++)
{ {
......
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