diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b1faf5e54d4..63e32a39510 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,15 @@ +2010-05-27 Iain Sandoe + + PR ObjC/44140 + * objc.dg/torture/tls/thr-init-2.m: Skip for -flto, -fwhopr. + * objc.dg/torture/tls/thr-init-3.m: Ditto. + * objc.dg/torture/tls/thr-init.m: Ditto. + * objc.dg/torture/trivial.m: Ditto. + * obj-c++.dg/torture/tls/thr-init-1.mm: Ditto. + * obj-c++.dg/torture/tls/thr-init-2.mm: Ditto. + * obj-c++.dg/torture/tls/thr-init-3.mm: Ditto. + * obj-c++.dg/torture/trivial.mm: Ditto. + 2010-05-27 Jack Howarth * g++.dg/lto/20100302_0.C: Skip on darwin. diff --git a/gcc/testsuite/obj-c++.dg/torture/tls/thr-init-1.mm b/gcc/testsuite/obj-c++.dg/torture/tls/thr-init-1.mm index 45d67f45949..056073789a5 100644 --- a/gcc/testsuite/obj-c++.dg/torture/tls/thr-init-1.mm +++ b/gcc/testsuite/obj-c++.dg/torture/tls/thr-init-1.mm @@ -1,5 +1,6 @@ -// { dg-require-effective-target tls } // { dg-do run } +// { dg-require-effective-target tls } +/* { dg-skip-if "PR44140" { *-*-* } { "-flto" "-fwhopr" } { "" } } */ extern "C" { extern void abort (); } diff --git a/gcc/testsuite/obj-c++.dg/torture/tls/thr-init-2.mm b/gcc/testsuite/obj-c++.dg/torture/tls/thr-init-2.mm index a96ae94b080..233cf20e132 100644 --- a/gcc/testsuite/obj-c++.dg/torture/tls/thr-init-2.mm +++ b/gcc/testsuite/obj-c++.dg/torture/tls/thr-init-2.mm @@ -1,5 +1,6 @@ -// { dg-require-effective-target tls } // { dg-do run } +// { dg-require-effective-target tls } +/* { dg-skip-if "PR44140" { *-*-* } { "-flto" "-fwhopr" } { "" } } */ extern "C" { extern void abort (); diff --git a/gcc/testsuite/obj-c++.dg/torture/tls/thr-init-3.mm b/gcc/testsuite/obj-c++.dg/torture/tls/thr-init-3.mm index 98d1ba47705..e106a9fe878 100644 --- a/gcc/testsuite/obj-c++.dg/torture/tls/thr-init-3.mm +++ b/gcc/testsuite/obj-c++.dg/torture/tls/thr-init-3.mm @@ -1,6 +1,6 @@ -/* { dg-require-effective-target tls } */ /* { dg-do run } */ -/* { dg-xfail-if "PR44140" { *-*-* } { "-flto" "-fwhopr" } { "" } } */ +/* { dg-require-effective-target tls } */ +/* { dg-skip-if "PR44140" { *-*-* } { "-flto" "-fwhopr" } { "" } } */ /* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */ /* { dg-additional-sources "../../../objc-obj-c++-shared/Object1.mm" } */ diff --git a/gcc/testsuite/obj-c++.dg/torture/trivial.mm b/gcc/testsuite/obj-c++.dg/torture/trivial.mm index 8d776b72910..aa76f009416 100644 --- a/gcc/testsuite/obj-c++.dg/torture/trivial.mm +++ b/gcc/testsuite/obj-c++.dg/torture/trivial.mm @@ -1,5 +1,7 @@ // { dg-do run } -// { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } + +// { dg-skip-if "PR44140" { *-*-* } { "-flto" "-fwhopr" } { "" } } +// { dg-xfail-run-if "OBJC2 runtime" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "-fgnu-runtime" } } // { dg-additional-sources "../../objc-obj-c++-shared/Object1.mm" } #import "../../objc-obj-c++-shared/Object1.h" diff --git a/gcc/testsuite/objc.dg/torture/tls/thr-init-2.m b/gcc/testsuite/objc.dg/torture/tls/thr-init-2.m index e597a5de4fe..b637e2544e6 100644 --- a/gcc/testsuite/objc.dg/torture/tls/thr-init-2.m +++ b/gcc/testsuite/objc.dg/torture/tls/thr-init-2.m @@ -1,5 +1,6 @@ -// { dg-require-effective-target tls } // { dg-do run } +// { dg-require-effective-target tls } +/* { dg-skip-if "PR44140" { *-*-* } { "-flto" "-fwhopr" } { "" } } */ extern void _exit(int); diff --git a/gcc/testsuite/objc.dg/torture/tls/thr-init-3.m b/gcc/testsuite/objc.dg/torture/tls/thr-init-3.m index a56f4ce0b11..f30315d8819 100644 --- a/gcc/testsuite/objc.dg/torture/tls/thr-init-3.m +++ b/gcc/testsuite/objc.dg/torture/tls/thr-init-3.m @@ -1,6 +1,6 @@ -/* { dg-require-effective-target tls } */ /* { dg-do run } */ -/* { dg-xfail-if "PR44140" { *-*-* } { "-flto" "-fwhopr" } { "" } } */ +/* { dg-require-effective-target tls } */ +/* { dg-skip-if "PR44140" { *-*-* } { "-flto" "-fwhopr" } { "" } } */ /* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */ /* { dg-additional-sources "../../../objc-obj-c++-shared/Object1.m" } */ diff --git a/gcc/testsuite/objc.dg/torture/tls/thr-init.m b/gcc/testsuite/objc.dg/torture/tls/thr-init.m index c15949ed888..6c3bad1b9bb 100644 --- a/gcc/testsuite/objc.dg/torture/tls/thr-init.m +++ b/gcc/testsuite/objc.dg/torture/tls/thr-init.m @@ -1,5 +1,6 @@ -/* { dg-require-effective-target tls } */ /* { dg-do run } */ +/* { dg-require-effective-target tls } */ +/* { dg-skip-if "PR44140" { *-*-* } { "-flto" "-fwhopr" } { "" } } */ extern void _exit(int); diff --git a/gcc/testsuite/objc.dg/torture/trivial.m b/gcc/testsuite/objc.dg/torture/trivial.m index a1ac22ed481..6c4d283c037 100644 --- a/gcc/testsuite/objc.dg/torture/trivial.m +++ b/gcc/testsuite/objc.dg/torture/trivial.m @@ -1,4 +1,5 @@ /* { dg-do run } */ +/* { dg-skip-if "PR44140" { *-*-* } { "-flto" "-fwhopr" } { "" } } */ /* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */ /* { dg-additional-sources "../../objc-obj-c++-shared/Object1.m" } */