HomePhabricator

[test-suite] Fix ambigous call to overloaded function isnan

Description

[test-suite] Fix ambigous call to overloaded function isnan

Reviewers: hfinkel, MatzeB

Older versions of glibc expose isnan as C99 macros and C++ functions, causing
a compilation failure of the CLAMR benchmark. Address this by explicitly calling
the c++ version of this function.

For reference: https://sourceware.org/bugzilla/show_bug.cgi?id=19439,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48891

Differential Revision: https://reviews.llvm.org/D42411

Details

Committed
sdardisFeb 15 2018, 3:38 AM
Differential Revision
D42411: [test-suite] Fix ambigous call to overloaded function isnan
Parents
rL325230: Merging r325218:
Branches
Unknown
Tags
Unknown