* objc/execute/forward-1.x: XFAIL for -fgnu-runtime on
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 17 Dec 2009 10:02:33 +0000 (10:02 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 17 Dec 2009 10:02:33 +0000 (10:02 +0000)
    x86_64-*-darwin*, powerpc*-*-darwin* and alpha*-*-linux* targets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155307 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/objc/execute/forward-1.x

index 77bd4ee..e523a3d 100644 (file)
@@ -1,3 +1,8 @@
+2009-12-17  Uros Bizjak  <ubizjak@gmail.com>
+
+       * objc/execute/forward-1.x: XFAIL for -fgnu-runtime on
+       x86_64-*-darwin*, powerpc*-*-darwin* and alpha*-*-linux* targets.
+
 2009-12-17  Janus Weil  <janus@gcc.gnu.org>
 
        PR fortran/42144
@@ -48,9 +53,9 @@
 2009-12-15  Tobias Burnus  <burnus@net-b.de>
 
        PR fortran/41235
-       * auto_char_len_1.f90: New test.
-       * auto_char_len_2.f90: New test.
-       * auto_char_len_4.f90: Correct test.
+       * gfortran.dg/auto_char_len_1.f90: New test.
+       * gfortran.dg/auto_char_len_2.f90: New test.
+       * gfortran.dg/auto_char_len_4.f90: Correct test.
 
 2009-12-14  Jason Merrill  <jason@redhat.com>
 
index 2b7ca2a..8d4bcf5 100644 (file)
@@ -1,8 +1,6 @@
 load_lib target-supports.exp
 
 # XFAIL: PR libobjc/36610, for targets which pass arguments via registers
-# For powerpc-darwin it fails with -fgnu-runtime, passes with -fnext-runtime,
-# but that would be too ugly to handle; let it fail there.
 
 if { ([istarget x86_64-*-linux*] && [check_effective_target_lp64] )
      || [istarget powerpc*-*-linux*]
@@ -15,4 +13,21 @@ if { ([istarget x86_64-*-linux*] && [check_effective_target_lp64] )
     set torture_execute_xfail "*-*-*"
 }
 
+# For darwin and alpha-linux it fails with -fgnu-runtime,
+# passes with -fnext-runtime.
+
+if { ([istarget x86_64-*-darwin*] && [check_effective_target_lp64] )
+     || [istarget powerpc*-*-darwin*]
+     || [istarget alpha*-*-linux*] } {
+    set torture_eval_before_execute {
+       global compiler_conditional_xfail_data
+       set compiler_conditional_xfail_data {
+           "Target fails with -fgnu-runtime" \
+               "*-*-*" \
+               { "-fgnu-runtime" } \
+               { "" }
+       }
+    }
+}
+
 return 0