[PATCH] Fix feholdexcept on s390{,x}

Martin Schwidefsky schwidefsky@de.ibm.com
Thu May 10 07:22:00 GMT 2007


On Wed, 2007-05-09 at 18:32 +0200, Jakub Jelinek wrote:
> feholdexcept is supposed to save the current fenv, then clear the
> status flags and stop generating all exceptions.  But on s390{,x}
> feholdexcept was also clearing the exceptions in the saved fenv_t.
> Fixes test-fenv on s390*.

That bug has been there from day 1 and nobody noticed until now. Sigh.

-- 
blue skies,
  Martin.

"Reality continues to ruin my life." - Calvin.




More information about the Libc-hacker mailing list