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 RFA] Fix a libstdc++-v3 test for SH


Hi,

SH needs -mieee option for tr1/5_numerical_facilities/special_functions/
17_hyperg/check_nan.cc test.  The patch is tested on i686-pc-linux-gnu too.
Ok for mainline?

Regards,
	kaz
--
2007-05-14  Kaz Kojima  <kkojima@gcc.gnu.org>

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

diff -uprN ORIG/trunk/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/check_nan.cc LOCAL/trunk/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/check_nan.cc
--- ORIG/trunk/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/check_nan.cc	2007-03-18 09:41:02.000000000 +0900
+++ LOCAL/trunk/libstdc++-v3/testsuite/tr1/5_numerical_facilities/special_functions/17_hyperg/check_nan.cc	2007-05-14 08:34:15.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]