an if-else conditional.
(FAIL): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18906
138bc75d-0d04-0410-961f-
82ee72b054a4
+Mon Mar 30 00:21:03 1998 Jeffrey A Law (law@cygnus.com)
+
+ * genemit.c (DONE): Rework so that it works in the true arm if
+ an if-else conditional.
+ (FAIL): Likewise.
+
Sun Mar 29 12:45:23 1998 Jeffrey A Law (law@cygnus.com)
* rs6000.c: Do not include stdioh or ctype.h anymore.
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 {end_sequence (); return _val;}\n");
- printf ("#define DONE {_val = gen_sequence (); end_sequence (); return _val;}\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");
/* Read the machine description. */