OSDN Git Service

2010-03-31 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
authorjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Mar 2010 15:50:45 +0000 (15:50 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:15:46 +0000 (14:15 +0900)
PR testsuite/35165
* obj-c++.dg/try-catch-9.mm: Don't XFAIL m32 NeXT runtime.
* obj-c++.dg/try-catch-2.mm: Ditto.
* obj-c++.dg/lookup-2.mm: Ditto.
* obj-c++.dg/encode-8.m: Ditto.
* obj-c++.dg/cxx-ivars-2.mm: Ditto.
* obj-c++.dg/cxx-ivars-3.mm: Skip for GNU, XFail for m64 NeXT.
* obj-c++.dg/const-str-10.mm: Skip for GNU, match .quad for m64 NeXT.
* obj-c++.dg/const-str-11.mm: Ditto.
* obj-c++.dg/const-str-9.mm: Ditto.
* obj-c++.dg/bitfield-3.mm: Skip for GNU runtime.
* obj-c++.dg/bitfield-2.mm: XFAIL run for m64 NeXT runtime.
* obj-c++.dg/except-1.mm: Ditto.
* obj-c++.dg/const-str-7.mm: Ditto.
* obj-c++.dg/cxx-ivars-1.mm: Ditto.
* obj-c++.dg/const-str-3.mm: Ditto.
* obj-c++.dg/const-str-7.mm: Ditto.
* obj-c++.dg/stubify-2.mm: Change dump file name.

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

gcc/testsuite/ChangeLog
gcc/testsuite/obj-c++.dg/bitfield-3.mm
gcc/testsuite/obj-c++.dg/const-str-10.mm
gcc/testsuite/obj-c++.dg/const-str-11.mm
gcc/testsuite/obj-c++.dg/const-str-7.mm
gcc/testsuite/obj-c++.dg/cxx-ivars-2.mm
gcc/testsuite/obj-c++.dg/cxx-ivars-3.mm
gcc/testsuite/obj-c++.dg/encode-8.mm
gcc/testsuite/obj-c++.dg/lookup-2.mm
gcc/testsuite/obj-c++.dg/stubify-2.mm

index 1a4b798..bea8f57 100644 (file)
@@ -1,5 +1,24 @@
 2010-03-31  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
 
+       PR testsuite/35165
+       * obj-c++.dg/try-catch-9.mm: Don't XFAIL m32 NeXT runtime.
+       * obj-c++.dg/try-catch-2.mm: Ditto.
+       * obj-c++.dg/lookup-2.mm: Ditto.
+       * obj-c++.dg/encode-8.m: Ditto.
+       * obj-c++.dg/cxx-ivars-2.mm: Ditto.
+       * obj-c++.dg/cxx-ivars-3.mm: Skip for GNU, XFail for m64 NeXT.
+       * obj-c++.dg/const-str-10.mm: Skip for GNU, match .quad for m64 NeXT.
+       * obj-c++.dg/const-str-11.mm: Ditto.
+       * obj-c++.dg/const-str-9.mm: Ditto.
+       * obj-c++.dg/bitfield-3.mm: Skip for GNU runtime.
+       * obj-c++.dg/bitfield-2.mm: XFAIL run for m64 NeXT runtime.
+       * obj-c++.dg/except-1.mm: Ditto.
+       * obj-c++.dg/const-str-7.mm: Ditto.
+       * obj-c++.dg/cxx-ivars-1.mm: Ditto.
+       * obj-c++.dg/const-str-3.mm: Ditto.
+       * obj-c++.dg/const-str-7.mm: Ditto.
+       * obj-c++.dg/stubify-2.mm: Change dump file name.
+
        PR objc++/23613
        * gcc/testsuite/objc-obj-c++-shared/next-mapping.h (CLASSPTRFIELD):
        New macro.
index ca09d1b..d81976a 100644 (file)
@@ -1,7 +1,6 @@
 /* Check if bitfield ivars are correctly @encode'd when
    the NeXT runtime is used.  */
 /* Contributed by Ziemowit Laski <zlaski@apple.com>.  */
-/* { dg-options "-fsigned-char" } */
 /* { dg-do run { target *-*-darwin* } } */
 /* { dg-skip-if "" { *-*-* } { "-fgnu-runtime" } { "" } } */
 /* { dg-options "-fsigned-char" } */
index 64d0f84..693b6be 100644 (file)
@@ -2,7 +2,7 @@
    constant string classes get derived.  */
 /* Contributed by Ziemowit Laski <zlaski@apple.com>  */
 
-/* { dg-do compile { target *-*-darwin* } } */
+/* { dg-do compile } */
 /* { dg-skip-if "" { *-*-* } { "-fgnu-runtime" } { "" } } */
 
 #include "../objc-obj-c++-shared/Object1.h"
index b1c2fba..ea93710 100644 (file)
@@ -2,7 +2,7 @@
    constant string classes get derived.  */
 /* Contributed by Ziemowit Laski <zlaski@apple.com>  */
 
-/* { dg-do compile { target *-*-darwin* } } */
+/* { dg-do compile } */
 /* { dg-skip-if "" { *-*-* } { "-fgnu-runtime" } { "" } } */
 /* { dg-options "-fconstant-string-class=XStr" } */
 
index fe66b2c..755b045 100644 (file)
@@ -4,6 +4,7 @@
 
 /* { dg-options "-fconstant-string-class=Foo" } */
 /* { dg-do run } */
+/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
 
 #include "../objc-obj-c++-shared/Object1.h"
 #include "../objc-obj-c++-shared/next-mapping.h"
index 8f836ce..a85f4e5 100644 (file)
@@ -1,9 +1,8 @@
 // Check if the '- .cxx_construct' and '-.cxx_destruct' methods get called
 // and if they perform their desired function.
 
+// { dg-xfail-run-if "PR27247/PR23681" { *-*-* } { "-fgnu-runtime" } { "" } }
 // { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } }
-// { dg-do run { target *-*-darwin* } }
-// { dg-skip-if "" { *-*-* } { "-fgnu-runtime" } { "" } }
 // { dg-options "-fobjc-call-cxx-cdtors" }
 
 #include "../objc-obj-c++-shared/Object1.h"
index 898ce6a..a3c4b0c 100644 (file)
@@ -1,9 +1,10 @@
 // Check if ObjC classes with non-POD C++ ivars are specially marked in the metadata.
 
 // { dg-do run { target *-*-darwin* } }
-// { dg-options "-fobjc-call-cxx-cdtors" }
 // { dg-skip-if "" { *-*-* } { "-fgnu-runtime" } { "" } } 
-/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
+// { dg-options "-fobjc-call-cxx-cdtors" }
+// { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } }
+
 #include "../objc-obj-c++-shared/Object1.h"
 #include "../objc-obj-c++-shared/next-mapping.h"
 
index de800d0..2d5734e 100644 (file)
@@ -2,7 +2,8 @@
    'BOOL *' (which should be encoded as '^c') and 'char *' (which
    should be encoded as '*').  */
 /* Contributed by Ziemowit Laski <zlaski@apple.com>.  */
-/* { dg-do run { xfail { "*-*-*" } } } PR27249 */
+/* { dg-xfail-run-if "PR27249" { *-*-* } { "-fgnu-runtime" } { "" } } */
+/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
 
 #include <string.h>           
 #include <stdlib.h>
index 5dffb01..4d56cf2 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do run } */
-/* { dg-xfail-if "PR23614" { "*-*-*" } { "*" } { "" } } */
+/* { dg-xfail-if "PR23614" { "*-*-*" } { "*" } { "-fnext-runtime" } } */
 /* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
 #include "../objc-obj-c++-shared/Object1.h"
 #include <stdlib.h>
index 9968672..a544698 100644 (file)
@@ -29,5 +29,5 @@ extern int bogonic (int, int, int) ;
 @end
 
 /* Any symbol_ref of an un-stubified objc_msgSend is an error; look
-   for "objc_msgSend" in quotes, without the $stub suffix. */
-/* { dg-final {  scan-rtl-dump-not "symbol_ref.*\"objc_msgSend\"" "jump" } } */
+   for "objc_msgSend" in quotes, without the $stub suffix.  */
+/* { dg-final { scan-file-not stubify-2.mm.147r.jump "symbol_ref.*\"objc_msgSend\"" } } */