2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 990826-0.x
blob689aebfe3667aca2d37a5bcb153b8ad059afa23b
1 # floor() is not available on m6811/m6812 target, this test will not link.
2 if { [istarget "m6811-*-*"] || [istarget "m6812-*-*"]} {
3         return 1
5 # XFAIL this test for AIX using -msoft-float.
6 # This test calls the system libm.a function floor.
7 # A false failure is reported if -msoft-float is used.
8 # AIX expects the the parameters to be passed in fp regs. 
9 if { [istarget powerpc-*-aix*] || [istarget rs6000-*-aix*] } {
10     set torture_eval_before_execute {
11         global compiler_conditional_xfail_data
12         set compiler_conditional_xfail_data {
13             "Can not call system libm.a with -msoft-float" \
14                     "*-*-aix*" \
15                     { "-msoft-float" } \
16                     { "" }
17         }
18     }
20 return 0