Don't depend on gcc's feature of permitting returning void expressions

in functions returning void.
This commit is contained in:
Bruce Evans 1997-07-01 00:08:34 +00:00
parent 94e24bf0f5
commit 51d3fea92d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=27123
2 changed files with 8 additions and 5 deletions

View File

@ -57,7 +57,7 @@
* W. Metzenthen June 1994.
*
*
* $Id: load_store.c,v 1.8 1997/02/22 09:29:10 peter Exp $
* $Id: load_store.c,v 1.9 1997/06/14 15:11:04 bde Exp $
*
*/
@ -128,7 +128,8 @@ load_store_instr(char type)
}
break;
case _null_:
return Un_impl();
Un_impl();
return;
#ifdef PARANOID
default:
return EXCEPTION(EX_INTERNAL);

View File

@ -56,7 +56,7 @@
* W. Metzenthen June 1994.
*
*
* $Id: reg_compare.c,v 1.8 1997/02/22 09:29:21 peter Exp $
* $Id: reg_compare.c,v 1.9 1997/06/14 15:11:05 bde Exp $
*
*/
@ -340,8 +340,10 @@ void
fcompp()
{
/* fcompp */
if (FPU_rm != 1)
return Un_impl();
if (FPU_rm != 1) {
Un_impl();
return;
}
if (compare_st_st(1)) {
pop();
FPU_st0_ptr = &st(0);