summaryrefslogtreecommitdiff
path: root/gcc/genextract.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/genextract.c')
-rw-r--r--gcc/genextract.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/genextract.c b/gcc/genextract.c
index 2631e2adfe3..cfc7037528a 100644
--- a/gcc/genextract.c
+++ b/gcc/genextract.c
@@ -152,7 +152,7 @@ gen_insn (rtx insn, int insn_code_number)
/* Otherwise, make a new extraction method. We stash the arrays
after the extraction structure in memory. */
- p = xmalloc (sizeof (struct extraction)
+ p = XNEWVAR (struct extraction, sizeof (struct extraction)
+ op_count*sizeof (char *)
+ dup_count*sizeof (char *)
+ dup_count*sizeof (int));