Use ::isinf and ::isnan if libc defines them
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Jan 2016 16:25:56 +0000 (16:25 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 13 Jan 2016 16:25:56 +0000 (16:25 +0000)
commitb23837e02e1018c0c8f11693762a6a41e9831898
tree2670abc20fc46d91ae71b56219618a8ba707940b
parent7a6ddc0d38d2dfbd875f5382097de72262d5e8c1
Use ::isinf and ::isnan if libc defines them

PR libstdc++/48891
* acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Check for obsolete isinf
and isnan functions.
* config.h.in: Regenerate.
* configure: Regenerate.
* include/c_global/cmath (isinf(double), isnan(double))
[_GLIBCXX_HAVE_OBSOLETE_ISINF_ISNAN]: Import via using-directive.
* testsuite/26_numerics/headers/cmath/48891.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232327 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/acinclude.m4
libstdc++-v3/config.h.in
libstdc++-v3/configure
libstdc++-v3/include/c_global/cmath
libstdc++-v3/testsuite/26_numerics/headers/cmath/48891.cc [new file with mode: 0644]