* genextract.c (main): Do not output the memset when not checking.
authorJan Hubicka <jh@suse.cz>
Mon, 26 Jan 2004 20:34:22 +0000 (21:34 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 26 Jan 2004 20:34:22 +0000 (20:34 +0000)
From-SVN: r76665

gcc/ChangeLog
gcc/genextract.c

index 483a47a01e6457dff4ad8438d7c93ecf0b17f20f..ea4c6d34949f9e8e73a645e2d848ca2518ce078b 100644 (file)
@@ -1,3 +1,7 @@
+2004-01-25  Jan Hubicka  <jh@suse.cz>
+
+       * genextract.c (main): Do not output the memset when not checking.
+
 2004-01-26  Kazu Hirata  <kazu@cs.umass.edu>
 
        * config/h8300/h8300.c (h8300_tiny_constant_address_p): Use a
index d3365736510af167dbb5d246e6c1534427c06e1b..54be0ebeccc588e0236dc4bc465b909bbc708a15 100644 (file)
@@ -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");