This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug math/21607] hppa: FAIL: math/test-tgmath


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

--- Comment #7 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  51737193a9810ceb1c516a2a71444fa70bcf8500 (commit)
      from  2dd0aec531ad03e8e1642f8642930451b23fe2ba (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=51737193a9810ceb1c516a2a71444fa70bcf8500

commit 51737193a9810ceb1c516a2a71444fa70bcf8500
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Jun 28 16:01:20 2017 +0000

    Remove NO_LONG_DOUBLE conditionals in libm tests (bug 21607).

    As noted in bug 21607, NO_LONG_DOUBLE conditionals in libm tests are
    no longer effective.  For most this is harmless - they were only
    present because of long double functions not being declared with _LIBC
    defined, and _LIBC is no longer defined for building most tests.  For
    the few where this is actually relevant to the test, testing
    LDBL_MANT_DIG > DBL_MANT_DIG is more appropriate as that limits the
    test to public APIs.  This patch fixes the tests accordingly.

    Tested for x86_64 and arm.

        [BZ #21607]
        * math/basic-test.c [!NO_LONG_DOUBLE]: Change conditionals to
        [LDBL_MANT_DIG > DBL_MANT_DIG].
        * math/bug-nextafter.c [!NO_LONG_DOUBLE]: Remove conditionals.
        * math/bug-nexttoward.c [!NO_LONG_DOUBLE]: Likewise.
        * math/test-math-isinff.cc [!NO_LONG_DOUBLE]: Likewise.
        * math/test-math-iszero.cc [!NO_LONG_DOUBLE]: Likewise.
        * math/test-nan-overflow.c [!NO_LONG_DOUBLE]: Likewise.
        * math/test-nan-payload.c [!NO_LONG_DOUBLE]: Likewise.
        * math/test-nearbyint-except-2.c [!NO_LONG_DOUBLE]: Likewise.
        * math/test-nearbyint-except.c [!NO_LONG_DOUBLE]: Likewise.
        * math/test-powl.c [!NO_LONG_DOUBLE]: Likewise.
        * math/test-signgam-finite-c99.c [!NO_LONG_DOUBLE]: Likewise.
        * math/test-signgam-finite.c [!NO_LONG_DOUBLE]: Likewise.
        * math/test-signgam-main.c [!NO_LONG_DOUBLE]: Likewise.
        * math/test-snan.c [!NO_LONG_DOUBLE]: Likewise.
        * math/test-tgmath-ret.c [!NO_LONG_DOUBLE]: Likewise.
        * math/test-tgmath.c: Include <float.h>.
        [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
        DBL_MANT_DIG].
        * math/test-tgmath2.c: Include <float.h>.
        [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
        DBL_MANT_DIG].

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

Summary of changes:
 ChangeLog                      |   24 ++++++++++++++++++++++++
 math/basic-test.c              |    4 ++--
 math/bug-nextafter.c           |    2 --
 math/bug-nexttoward.c          |    2 --
 math/test-math-isinff.cc       |    4 ----
 math/test-math-iszero.cc       |    2 --
 math/test-nan-overflow.c       |    2 --
 math/test-nan-payload.c        |    2 --
 math/test-nearbyint-except-2.c |    4 ----
 math/test-nearbyint-except.c   |    4 ----
 math/test-powl.c               |    4 +---
 math/test-signgam-finite-c99.c |    2 --
 math/test-signgam-finite.c     |    2 --
 math/test-signgam-main.c       |    2 --
 math/test-snan.c               |    4 ----
 math/test-tgmath-ret.c         |    6 +-----
 math/test-tgmath.c             |    7 ++++---
 math/test-tgmath2.c            |    7 ++++---
 18 files changed, 36 insertions(+), 48 deletions(-)

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]