gcc/libstdc++-v3/include/c_global
Paolo Carlini b04fa73811 re PR libstdc++/48933 (Infinite recursion in tr1/cmath functions with complex parameters)
2011-05-09  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/48933
	* include/c_global/cmath (acosh, asinh, atanh, cbrt, copysign,
	erf, erfc, exp2, expm1, fdim, fma, fmax, hypot, ilogb, lgamma,
	llrint, llround, log1p, log2, logb, lrint, lround, nearbyint,
	nextafter, nexttoward, remainder, remquo, rint, round, scalbln,
	scalbn, tgamma, trunc): Use __enable_if on the return type.
	* include/tr1/cmath: Likewise.
	* testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc: New.
	* testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc: Likewise.

From-SVN: r173574
2011-05-09 15:38:21 +00:00
..
cassert re PR libstdc++/42460 (man page errors for generated libstdc++ man pages) 2010-02-04 18:20:34 +00:00
ccomplex hashtable.h: Fold in include/tr1_impl/hashtable.h contents. 2010-02-10 19:14:33 +00:00
cctype PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
cerrno re PR libstdc++/42460 (man page errors for generated libstdc++ man pages) 2010-02-04 18:20:34 +00:00
cfenv PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
cfloat re PR libstdc++/42460 (man page errors for generated libstdc++ man pages) 2010-02-04 18:20:34 +00:00
cinttypes PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
ciso646 re PR libstdc++/42460 (man page errors for generated libstdc++ man pages) 2010-02-04 18:20:34 +00:00
climits re PR libstdc++/42460 (man page errors for generated libstdc++ man pages) 2010-02-04 18:20:34 +00:00
clocale PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
cmath re PR libstdc++/48933 (Infinite recursion in tr1/cmath functions with complex parameters) 2011-05-09 15:38:21 +00:00
csetjmp PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
csignal PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
cstdarg PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
cstdbool hashtable.h: Fold in include/tr1_impl/hashtable.h contents. 2010-02-10 19:14:33 +00:00
cstddef c++config (std::size_t, [...]): Provide typedefs. 2010-06-03 19:15:56 +00:00
cstdint PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
cstdio PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
cstdlib PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
cstring PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
ctgmath hashtable.h: Fold in include/tr1_impl/hashtable.h contents. 2010-02-10 19:14:33 +00:00
ctime PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
cwchar PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
cwctype PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00