public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/18110] New: hppa: feholdexcept and fesetenv incorrectly compiled.
@ 2015-03-11  3:38 carlos at redhat dot com
  2015-03-11  6:29 ` [Bug math/18110] " cvs-commit at gcc dot gnu.org
  2015-03-11  6:30 ` carlos at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: carlos at redhat dot com @ 2015-03-11  3:38 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18110

            Bug ID: 18110
           Summary: hppa: feholdexcept and fesetenv incorrectly compiled.
           Product: glibc
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: carlos at redhat dot com

The fix for bug 6506 was wrong.

The real fix is to stop doing post-increment post-decrement on the bufptr since
it is no longer required, we no longer save/restore the exception registers,
only the status register.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug math/18110] hppa: feholdexcept and fesetenv incorrectly compiled.
  2015-03-11  3:38 [Bug math/18110] New: hppa: feholdexcept and fesetenv incorrectly compiled carlos at redhat dot com
@ 2015-03-11  6:29 ` cvs-commit at gcc dot gnu.org
  2015-03-11  6:30 ` carlos at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-03-11  6:29 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18110

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  e4363cfb5760d88a9f353c69383b15d5c2705070 (commit)
       via  fae1aa8d226ce860124efd67ede03004b19b89e2 (commit)
      from  068a6274556f9f362443648f4fd47525c8cf2dba (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=e4363cfb5760d88a9f353c69383b15d5c2705070

commit e4363cfb5760d88a9f353c69383b15d5c2705070
Author: Carlos O'Donell <carlos@systemhalted.org>
Date:   Wed Mar 11 02:42:27 2015 -0400

    hppa: Fix feupdateenv and fesetexceptflag (Bug 18111).

    The function feupdateenv has been fixed to correctly handle FE_DFL_ENV
    and FE_NOMASK_ENV.

    The fesetexceptflag function has been fixed to correctly handle setting
    the new flags instead of just OR-ing the existing flags.

    This fixes the test-fenv-return and test-fenvinline failures on hppa.

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=fae1aa8d226ce860124efd67ede03004b19b89e2

commit fae1aa8d226ce860124efd67ede03004b19b89e2
Author: John David Anglin <danglin@gcc.gnu.org>
Date:   Tue Mar 10 23:43:50 2015 -0400

    hppa: Fix feholdexcpt and fesetenv (Bug 18110).

    The constraints in the inline assembly in feholdexcept and fesetenv
    are incorrect. The assembly modifies the buffer pointer, but doesn't
    express that in the constraints. The simple fix is to remove the
    modification of the buffer pointer which is no longer required by
    the existing code, and adjust the one constraint that did express
    the modification of bufptr.

    The change fixes test-fenv when glibc is compiled with recent gcc.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                       |   16 ++++++++++++++++
 NEWS                            |    3 ++-
 sysdeps/hppa/fpu/feholdexcpt.c  |   10 ++++------
 sysdeps/hppa/fpu/fesetenv.c     |    4 ++--
 sysdeps/hppa/fpu/feupdateenv.c  |   19 ++++++++++++++++---
 sysdeps/hppa/fpu/fpu_control.h  |    7 ++++++-
 sysdeps/hppa/fpu/fsetexcptflg.c |   18 ++++++++++++------
 7 files changed, 58 insertions(+), 19 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug math/18110] hppa: feholdexcept and fesetenv incorrectly compiled.
  2015-03-11  3:38 [Bug math/18110] New: hppa: feholdexcept and fesetenv incorrectly compiled carlos at redhat dot com
  2015-03-11  6:29 ` [Bug math/18110] " cvs-commit at gcc dot gnu.org
@ 2015-03-11  6:30 ` carlos at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: carlos at redhat dot com @ 2015-03-11  6:30 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18110

Carlos O'Donell <carlos at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Carlos O'Donell <carlos at redhat dot com> ---
Fixed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-11  6:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-11  3:38 [Bug math/18110] New: hppa: feholdexcept and fesetenv incorrectly compiled carlos at redhat dot com
2015-03-11  6:29 ` [Bug math/18110] " cvs-commit at gcc dot gnu.org
2015-03-11  6:30 ` carlos at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).