This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch committed] Tweak a libstdc++-v3 test for SH


Hi,

I've committed the attached patch against tr1/5_numerical_facilities/
special_functions/05_comp_ellint_2/check_nan.cc on the trunk.  It
adds the -mieee option for sh targets.  This is a fix for a regression
because the test didn't fail with the revision 128661 on sh4-linux.
The patch is tested on i686-pc-linux-gnu.

Regards,
	kaz

--
2007-10-18  Kaz Kojima  <kkojima@gcc.gnu.org>

	* testsuite/tr1/5_numerical_facilities/special_functions/
	05_comp_ellint_2/check_nan.cc: Add -mieee for sh.

diff -uprN ORIG/trunk/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/05_comp_ellint_2/check_nan.cc LOCAL/trunk/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/05_comp_ellint_2/check_nan.cc
--- ORIG/trunk/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/05_comp_ellint_2/check_nan.cc	2007-10-18 19:33:59.000000000 +0900
+++ LOCAL/trunk/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/05_comp_ellint_2/check_nan.cc	2007-10-18 19:34:36.000000000 +0900
@@ -1,4 +1,5 @@
 // { dg-require-c-std "" }
+// { dg-options "-mieee" { target sh*-*-* } }
 
 // 2007-01-10  Edward Smith-Rowland <3dw4rd@verizon.net>
 //


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]