aboutsummaryrefslogtreecommitdiff
path: root/gcc/genemit.c
diff options
context:
space:
mode:
authorJohn Carr <jfc@mit.edu>1998-08-11 13:36:42 +0000
committerJohn Carr <jfc@gcc.gnu.org>1998-08-11 13:36:42 +0000
commit53bfe9cda9f36ae846038f99af933743d8e0cf05 (patch)
treeebfabb3133324928e61d654cfaee187e971932fd /gcc/genemit.c
parentcba96cb7e0eb5ee34c57f3f9c92530128fbaabf3 (diff)
downloadgcc-53bfe9cda9f36ae846038f99af933743d8e0cf05.zip
gcc-53bfe9cda9f36ae846038f99af933743d8e0cf05.tar.gz
gcc-53bfe9cda9f36ae846038f99af933743d8e0cf05.tar.bz2
except.c (set_exception_lang_code, [...]): Use prototype-style definition if __STDC__, to match declaration in except.h.
* 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
Diffstat (limited to 'gcc/genemit.c')
-rw-r--r--gcc/genemit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/genemit.c b/gcc/genemit.c
index e4341b8..88789e7 100644
--- a/gcc/genemit.c
+++ b/gcc/genemit.c
@@ -782,8 +782,8 @@ from the machine description file `md'. */\n\n");
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. */