From 4efb5faf8c15ba85539bf1fbd9e05154ab65b4c4 Mon Sep 17 00:00:00 2001 From: Geoff Keating Date: Thu, 30 Dec 1999 23:37:12 +0000 Subject: * sysdeps/powerpc/fpu/bits/fenvinline.h (feraiseexcept): Remove the (void) casts as now feraiseexcept returns a value. (feclearexcept): Likewise. * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use '%r0', it interferes with the macros for AIX. 1999-12-30 Geoff Keating * sysdeps/powerpc/fpu/bits/fenvinline.h (feraiseexcept): Remove the (void) casts as now feraiseexcept returns a value. (feclearexcept): Likewise. * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Don't use '%r0', it interferes with the macros for AIX. --- sysdeps/powerpc/fpu/bits/fenvinline.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sysdeps/powerpc/fpu') diff --git a/sysdeps/powerpc/fpu/bits/fenvinline.h b/sysdeps/powerpc/fpu/bits/fenvinline.h index 6ab3105..f13cd70 100644 --- a/sysdeps/powerpc/fpu/bits/fenvinline.h +++ b/sysdeps/powerpc/fpu/bits/fenvinline.h @@ -39,8 +39,8 @@ ? (__extension__ ({ __asm__ __volatile__ \ ("mtfsb1 %s0" \ : : "i#*X"(__builtin_ffs (__excepts))); \ - (void)0; })) \ - : (void)0) \ + 0; })) \ + : 0) \ : (feraiseexcept) (__excepts)) /* Inline definition for feclearexcept. */ @@ -52,8 +52,8 @@ ? (__extension__ ({ __asm__ __volatile__ \ ("mtfsb0 %s0" \ : : "i#*X"(__builtin_ffs (__excepts))); \ - (void)0; })) \ - : (void)0) \ + 0; })) \ + : 0) \ : (feclearexcept) (__excepts)) #endif /* __GNUC__ && !_SOFT_FLOAT */ -- cgit v1.1