compare-fp-4.x: Add an XFAIL for ARM VxWorks kernels.

gcc/testsuite/
	* gcc.c-torture/execute/ieee/compare-fp-4.x: Add an XFAIL for ARM
	VxWorks kernels.
	* gcc.c-torture/execute/ieee/fp-cmp-1.x: Likewise.
	* gcc.c-torture/execute/ieee/fp-cmp-2.x: Likewise.
	* gcc.c-torture/execute/ieee/fp-cmp-3.x: Likewise.
	* gcc.c-torture/execute/ieee/fp-cmp-6.x: Likewise.

From-SVN: r126313
This commit is contained in:
Richard Sandiford 2007-07-04 11:25:32 +00:00 committed by Richard Sandiford
parent a0aeae15e9
commit 6162fe83e1
6 changed files with 88 additions and 0 deletions

View File

@ -1,3 +1,12 @@
2007-07-04 Richard Sandiford <richard@codesourcery.com>
* gcc.c-torture/execute/ieee/compare-fp-4.x: Add an XFAIL for ARM
VxWorks kernels.
* gcc.c-torture/execute/ieee/fp-cmp-1.x: Likewise.
* gcc.c-torture/execute/ieee/fp-cmp-2.x: Likewise.
* gcc.c-torture/execute/ieee/fp-cmp-3.x: Likewise.
* gcc.c-torture/execute/ieee/fp-cmp-6.x: Likewise.
2007-07-04 Richard Sandiford <richard@codesourcery.com>
* gcc.dg/cpp/trad/include.c: Skip for VxWorks kernels.

View File

@ -1,2 +1,17 @@
# The ARM VxWorks kernel uses an external floating-point library in
# which routines like __ledf2 are just aliases for __cmpdf2. These
# routines therefore don't handle NaNs correctly.
if [istarget "arm*-*-vxworks*"] {
set torture_eval_before_execute {
global compiler_conditional_xfail_data
set compiler_conditional_xfail_data {
"The ARM kernel uses a flawed floating-point library."
{ "*-*-*" }
{}
{ "-mrtp" }
}
}
}
lappend additional_flags "-fno-trapping-math"
return 0

View File

@ -0,0 +1,16 @@
# The ARM VxWorks kernel uses an external floating-point library in
# which routines like __ledf2 are just aliases for __cmpdf2. These
# routines therefore don't handle NaNs correctly.
if [istarget "arm*-*-vxworks*"] {
set torture_eval_before_execute {
global compiler_conditional_xfail_data
set compiler_conditional_xfail_data {
"The ARM kernel uses a flawed floating-point library."
{ "*-*-*" }
{}
{ "-mrtp" }
}
}
}
return 0

View File

@ -0,0 +1,16 @@
# The ARM VxWorks kernel uses an external floating-point library in
# which routines like __ledf2 are just aliases for __cmpdf2. These
# routines therefore don't handle NaNs correctly.
if [istarget "arm*-*-vxworks*"] {
set torture_eval_before_execute {
global compiler_conditional_xfail_data
set compiler_conditional_xfail_data {
"The ARM kernel uses a flawed floating-point library."
{ "*-*-*" }
{}
{ "-mrtp" }
}
}
}
return 0

View File

@ -0,0 +1,16 @@
# The ARM VxWorks kernel uses an external floating-point library in
# which routines like __ledf2 are just aliases for __cmpdf2. These
# routines therefore don't handle NaNs correctly.
if [istarget "arm*-*-vxworks*"] {
set torture_eval_before_execute {
global compiler_conditional_xfail_data
set compiler_conditional_xfail_data {
"The ARM kernel uses a flawed floating-point library."
{ "*-*-*" }
{}
{ "-mrtp" }
}
}
}
return 0

View File

@ -0,0 +1,16 @@
# The ARM VxWorks kernel uses an external floating-point library in
# which routines like __ledf2 are just aliases for __cmpdf2. These
# routines therefore don't handle NaNs correctly.
if [istarget "arm*-*-vxworks*"] {
set torture_eval_before_execute {
global compiler_conditional_xfail_data
set compiler_conditional_xfail_data {
"The ARM kernel uses a flawed floating-point library."
{ "*-*-*" }
{ "-O0" }
{ "-mrtp" }
}
}
}
return 0