http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48933
--- Comment #7 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-05-09 15:38:25 UTC --- Author: paolo Date: Mon May 9 15:38:21 2011 New Revision: 173574 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173574 Log: 2011-05-09 Paolo Carlini <paolo.carl...@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. Added: trunk/libstdc++-v3/testsuite/26_numerics/headers/cmath/overloads_c++0x_neg.cc trunk/libstdc++-v3/testsuite/tr1/8_c_compatibility/cmath/overloads_neg.cc Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/c_global/cmath trunk/libstdc++-v3/include/tr1/cmath