https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61761
--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Fri May 3 19:25:05 2019 New Revision: 270859 URL: https://gcc.gnu.org/viewcvs?rev=270859&root=gcc&view=rev Log: Fix new testcase to not require std::copysign Use __builtin_copysign{,f,l} when std::copysign isn't available. PR libstdc++/61761 * testsuite/26_numerics/complex/proj.cc: Don't assume <cmath> defines std::copysign. Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/testsuite/26_numerics/complex/proj.cc