[patch] testsuite fix for math tests on darwin

Andreas Tobler toa@pop.agri.ch
Sun Jun 6 16:12:00 GMT 2004


darwin has some C99 math functions in the libmx instead of libm, so we 
should add the -lmx to the tests where we need these functions.
The attached patch fixes three failures of the libstdc++ suite.
Unfortunately I did not find the cabsl in libmx.

Ok for main?


2004-06-06  Andreas Tobler  <a.tobler@schweiz.ch>

	* testsuite/26_numerics/c_math_dynamic.cc: Add -lmx for C99 functions
	on target darwin.
	* testsuite/26_numerics/complex_value.cc: Likewise.
	* testsuite/26_numerics/complex/pow.cc: Likewise.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: darwin-c99.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20040606/044aeb2a/attachment.ksh>

More information about the Gcc-patches mailing list