From 5a3641520ee697440e382d92cde68b88fad8c6f4 Mon Sep 17 00:00:00 2001 From: Geoff Keating Date: Mon, 28 Aug 2000 06:20:43 +0000 Subject: * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin. * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin. --- ChangeLog | 2 ++ sysdeps/powerpc/fpu/feenablxcpt.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 37000a9b9b..9103886e84 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2000-08-27 Geoff Keating + * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin. + * sysdeps/powerpc/fpu/fedisblxcpt.c: New file. * sysdeps/powerpc/fpu/feenablxcpt.c: New file. * sysdeps/powerpc/fpu/fegetexcept.c: New file. diff --git a/sysdeps/powerpc/fpu/feenablxcpt.c b/sysdeps/powerpc/fpu/feenablxcpt.c index 1d426e8a78..c3ea0df38d 100644 --- a/sysdeps/powerpc/fpu/feenablxcpt.c +++ b/sysdeps/powerpc/fpu/feenablxcpt.c @@ -46,9 +46,9 @@ feenableexcept (int excepts) new = fegetexcept (); if (new != 0 && result == 0) - (void)__fe_nomask_env (void); + (void)__fe_nomask_env (); - if ((old & excepts) != excepts) + if ((new & excepts) != excepts) result = -1; return result; -- cgit 1.4.1