Don't depend on gcc's feature of permitting returning void expressions
in functions returning void.
This commit is contained in:
parent
94e24bf0f5
commit
51d3fea92d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=27123
@ -57,7 +57,7 @@
|
|||||||
* W. Metzenthen June 1994.
|
* 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;
|
break;
|
||||||
case _null_:
|
case _null_:
|
||||||
return Un_impl();
|
Un_impl();
|
||||||
|
return;
|
||||||
#ifdef PARANOID
|
#ifdef PARANOID
|
||||||
default:
|
default:
|
||||||
return EXCEPTION(EX_INTERNAL);
|
return EXCEPTION(EX_INTERNAL);
|
||||||
|
@ -56,7 +56,7 @@
|
|||||||
* W. Metzenthen June 1994.
|
* 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()
|
||||||
{
|
{
|
||||||
/* fcompp */
|
/* fcompp */
|
||||||
if (FPU_rm != 1)
|
if (FPU_rm != 1) {
|
||||||
return Un_impl();
|
Un_impl();
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (compare_st_st(1)) {
|
if (compare_st_st(1)) {
|
||||||
pop();
|
pop();
|
||||||
FPU_st0_ptr = &st(0);
|
FPU_st0_ptr = &st(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user