mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-19 17:40:01 +08:00
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
This commit is contained in:
parent
cba96cb7e0
commit
53bfe9cda9
@ -1,3 +1,11 @@
|
||||
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
|
||||
|
@ -1930,15 +1930,23 @@ static short language_code = 0;
|
||||
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;
|
||||
}
|
||||
|
@ -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. */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user