diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-02-26 16:00:08 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-02-26 16:00:08 +0000 |
commit | ea39e8853fc117c961bbaa7848c233bd612bef18 (patch) | |
tree | b5e591dae8b1c995360c00bb3d6857134b9cb296 /gcc/genextract.c | |
parent | d3ac3277323216cd3ac4346501aaa7cac8cc89b9 (diff) | |
download | gcc-ea39e8853fc117c961bbaa7848c233bd612bef18.tar.gz |
* genextract.c (main): Clear recog_operands before extracting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25473 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genextract.c')
-rw-r--r-- | gcc/genextract.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/genextract.c b/gcc/genextract.c index 67c779ffa5a..dc5cbd36ea5 100644 --- a/gcc/genextract.c +++ b/gcc/genextract.c @@ -461,6 +461,8 @@ from the machine description file `md'. */\n\n"); printf (" register rtx **ro_loc = recog_operand_loc;\n"); printf (" rtx pat = PATTERN (insn);\n"); printf (" int i ATTRIBUTE_UNUSED;\n\n"); + printf (" memset (ro, 0, sizeof (*ro) * MAX_RECOG_OPERANDS);\n"); + printf (" memset (ro_loc, 0, sizeof (*ro_loc) * MAX_RECOG_OPERANDS);\n"); printf (" switch (INSN_CODE (insn))\n"); printf (" {\n"); printf (" case -1:\n"); |