diff options
Diffstat (limited to 'sysdeps/powerpc/feupdateenv.c')
-rw-r--r-- | sysdeps/powerpc/feupdateenv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/powerpc/feupdateenv.c b/sysdeps/powerpc/feupdateenv.c index b3a3f95ac3..14fa6bbe4e 100644 --- a/sysdeps/powerpc/feupdateenv.c +++ b/sysdeps/powerpc/feupdateenv.c @@ -30,7 +30,7 @@ feupdateenv (const fenv_t *envp) old.fenv = fegetenv_register (); /* Copy the set exceptions from `old' to `new'. */ - new.l[1] = new.l[1] & 0xE00000FF | old.l[1] & 0x1FFFFF00; + new.l[1] = (new.l[1] & 0xE00000FF) | (old.l[1] & 0x1FFFFF00); /* Atomically enable and raise (if appropriate) exceptions set in `new'. */ fesetenv_register (new.fenv); |