[PATCH] D19835: Tolerate incorrect return type for 'isinf' and 'isnan' it tests.

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Mon May 2 13:55:12 PDT 2016


EricWF created this revision.
EricWF added reviewers: rsmith, mclow.lists.
EricWF added a subscriber: cfe-commits.

GLIBC recently removed the incorrect `int isinf(double)` and `int isnan(double)` overloads in C++11 and greater. This causes previously `XFAIL: linux`  tests to start passing.

Since there is no longer a way to 'XFAIL' the tests I choose to simply tolerate this bug.

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


http://reviews.llvm.org/D19835

Files:
  test/std/depr/depr.c.headers/math_h.pass.cpp
  test/std/depr/depr.c.headers/math_h_isinf.pass.cpp
  test/std/depr/depr.c.headers/math_h_isnan.pass.cpp
  test/std/numerics/c.math/cmath.pass.cpp
  test/std/numerics/c.math/cmath_isinf.pass.cpp
  test/std/numerics/c.math/cmath_isnan.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19835.55889.patch
Type: text/x-patch
Size: 9835 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160502/6f8ac96a/attachment.bin>


More information about the cfe-commits mailing list