* except.c (set_exception_lang_code, set_exception_version_code):
Use prototype-style definition if __STDC__, to match declaration
in except.h.
* genemit.c: Change FAIL and DONE macros not to use loops.
From-SVN: r21675
+Tue Aug 11 16:04:34 1998 John Carr <jfc@mit.edu>
+
+ * except.c (set_exception_lang_code, set_exception_version_code):
+ Use prototype-style definition if __STDC__, to match declaration
+ in except.h.
+
+ * genemit.c: Change FAIL and DONE macros not to use loops.
+
Tue Aug 11 12:27:03 1998 Jim Wilson <wilson@cygnus.com>
* dwarf2out.c (ASM_OUTPUT_DWARF_ADDR_CONST): Use
static short version_code = 0;
/* This routine will set the language code for exceptions. */
+#ifdef __STDC__
+void set_exception_lang_code (short code)
+#else
void set_exception_lang_code (code)
short code;
+#endif
{
language_code = code;
}
/* This routine will set the language version code for exceptions. */
+#ifdef __STDC__
+void set_exception_version_code (short code)
+#else
void set_exception_version_code (code)
short code;
+#endif
{
version_code = code;
}
printf ("extern char *insn_operand_constraint[][MAX_RECOG_OPERANDS];\n\n");
printf ("extern rtx recog_operand[];\n");
printf ("#define operands emit_operand\n\n");
- printf ("#define FAIL do {end_sequence (); return _val;} while (0)\n");
- printf ("#define DONE do {_val = gen_sequence (); end_sequence (); return _val;} while (0)\n");
+ printf ("#define FAIL return (end_sequence (), _val)\n");
+ printf ("#define DONE return (_val = gen_sequence (), end_sequence (), _val)\n");
/* Read the machine description. */