summaryrefslogtreecommitdiff
path: root/gcc/genextract.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2004-01-26 21:34:22 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2004-01-26 20:34:22 +0000
commit501f88de2f9cbec57d336e85bccbe6ce9ab4925b (patch)
tree86a2c65fcb85eecbdc34bf6663c1aa2f33d76d95 /gcc/genextract.c
parent0e50667c21342b76ed10043b6ed8fb07997842ac (diff)
downloadgcc-501f88de2f9cbec57d336e85bccbe6ce9ab4925b.tar.gz
* genextract.c (main): Do not output the memset when not checking.
From-SVN: r76665
Diffstat (limited to 'gcc/genextract.c')
-rw-r--r--gcc/genextract.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/genextract.c b/gcc/genextract.c
index d3365736510..54be0ebeccc 100644
--- a/gcc/genextract.c
+++ b/gcc/genextract.c
@@ -387,8 +387,10 @@ from the machine description file `md'. */\n\n");
printf (" rtx **ro_loc = recog_data.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");
+#ifdef ENABLE_CHECKING
+ printf (" memset (ro, 0xab, sizeof (*ro) * MAX_RECOG_OPERANDS);\n");
+ printf (" memset (ro_loc, 0xab, sizeof (*ro_loc) * MAX_RECOG_OPERANDS);\n");
+#endif
printf (" switch (INSN_CODE (insn))\n");
printf (" {\n");
printf (" case -1:\n");