Message ID | A614194ED15B4844BC4C9FB7F21FCD9222536FCD@HHMAIL01.hh.imgtec.org |
---|---|
State | New |
Headers | show |
Toma Tabacu <Toma.Tabacu@imgtec.com> > The -mnan=2008 and -mabs=2008 options are not supported on pre-R2 targets. > This results in failures for tests which use these options, such as nan-2008.c, > fabs-2008.c etc. > > This patch makes the testsuite upgrade to R2 if -mnan=2008 and -mabs=2008 are > used as test options. > > Tested with mips-mti-elf. > > Regards, > Toma Tabacu > > gcc/testsuite/ChangeLog: > > * gcc.target/mips/mips.exp (mips-dg-options): Upgrade to R2 for > -mnan=2008 and -mabs=2008. OK, thanks. Matthew
> > The -mnan=2008 and -mabs=2008 options are not supported on pre-R2 > targets. > > This results in failures for tests which use these options, such as nan-2008.c, > > fabs-2008.c etc. > > > > This patch makes the testsuite upgrade to R2 if -mnan=2008 and -mabs=2008 > are > > used as test options. > > > > Tested with mips-mti-elf. > > > > Regards, > > Toma Tabacu > > > > gcc/testsuite/ChangeLog: > > > > * gcc.target/mips/mips.exp (mips-dg-options): Upgrade to R2 for > > -mnan=2008 and -mabs=2008. > > OK, thanks. > > Matthew Committed as r243542. Regards, Toma
diff --git a/gcc/testsuite/gcc.target/mips/mips.exp b/gcc/testsuite/gcc.target/mips/mips.exp index c0b9680..3d04d2f 100644 --- a/gcc/testsuite/gcc.target/mips/mips.exp +++ b/gcc/testsuite/gcc.target/mips/mips.exp @@ -1145,7 +1145,9 @@ proc mips-dg-options { args } { || [mips_have_test_option_p options "HAS_INS"] || [mips_have_test_option_p options "HAS_MADD"] || [mips_have_test_option_p options "HAS_MADDPS"] - || [mips_have_test_option_p options "-mdspr2"]) } { + || [mips_have_test_option_p options "-mdspr2"] + || [mips_have_test_option_p options "-mnan=2008"] + || [mips_have_test_option_p options "-mabs=2008"]) } { if { $gp_size == 32 } { mips_make_test_option options "-mips32r2" } else {