re PR target/8087 (sparc-sun-solaris2.7 C testsuite failures in execute/20020720-1.c w/-m64 or on sparcv9/sparc64)

* gcc.c-torture/execute/20020720-1.x:  XFAIL instead of skipping
	the test on failing platforms.  Mark sparcv9-*-*, sparc64-*-*
	and sparc-*-* with -m64 as expected failures.  See PR 8087.

From-SVN: r57822
This commit is contained in:
Roger Sayle 2002-10-04 16:36:42 +00:00 committed by Roger Sayle
parent 0fca111b3c
commit f91f86e7da
2 changed files with 21 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2002-10-04 Roger Sayle <roger@eyesopen.com>
* gcc.c-torture/execute/20020720-1.x: XFAIL instead of skipping
the test on failing platforms. Mark sparcv9-*-*, sparc64-*-*
and sparc-*-* with -m64 as expected failures. See PR 8087.
2002-10-03 Mark Mitchell <mark@codesourcery.com>
PR c++/7931

View File

@ -10,10 +10,21 @@
# combiner is able to see all intermediate instructions simultaneously
# and can make the optimization.
if { [istarget "mips*-*-*"] || [istarget "xtensa-*-*"] \
|| [istarget "sh-*-*"] \
|| [istarget "arm*-*-*"] || [istarget "strongarm*-*-*"] \
|| [istarget "xscale*-*-*"] } {
return 1
|| [istarget "sh-*-*"] || [istarget "arm*-*-*"] \
|| [istarget "strongarm*-*-*"] || [istarget "xscale*-*-*"] \
|| [istarget "sparc64-*-*"] || [istarget "sparcv9-*-*"] } {
set torture_execute_xfail [istarget]
}
# sparc-*-* also fails with -m64.
set torture_eval_before_execute {
global compiler_conditional_xfail_data
set compiler_conditional_xfail_data {
"This test fails on sparc -m64, see PR8087." \
{ "sparc-*-*" } \
{ "-m64" } \
{ "" }
}
}
return 0