objc/objc++: switch all testcases to Modern Objective-C runtime API

Dominique Dhumieres dominiq@lps.ens.fr
Mon Jun 6 19:29:00 GMT 2011


Nicola,

On x86_64-apple-darwin10 I have the following failures with -m32

FAIL: obj-c++.dg/threedotthree-abi-1.mm -fnext-runtime (test for excess errors)

FAIL: obj-c++.dg/torture/strings/const-str-10.mm  -O0  -fnext-runtime (test for excess errors)
FAIL: obj-c++.dg/torture/strings/const-str-10.mm  -O1  -fnext-runtime (test for excess errors)
FAIL: obj-c++.dg/torture/strings/const-str-10.mm  -O2  -fnext-runtime (test for excess errors)
FAIL: obj-c++.dg/torture/strings/const-str-10.mm  -O3 -fomit-frame-pointer  -fnext-runtime (test for excess errors)
FAIL: obj-c++.dg/torture/strings/const-str-10.mm  -O3 -g  -fnext-runtime (test for excess errors)
FAIL: obj-c++.dg/torture/strings/const-str-10.mm  -Os  -fnext-runtime (test for excess errors)
FAIL: obj-c++.dg/torture/strings/const-str-10.mm  -O2 -flto -flto-partition=none  -fnext-runtime (test for excess errors)
FAIL: obj-c++.dg/torture/strings/const-str-10.mm  -O2 -flto  -fnext-runtime (test for excess errors)
FAIL: obj-c++.dg/torture/strings/const-str-11.mm  -O0  -fnext-runtime (test for excess errors)
FAIL: obj-c++.dg/torture/strings/const-str-11.mm  -O1  -fnext-runtime (test for excess errors)
FAIL: obj-c++.dg/torture/strings/const-str-11.mm  -O2  -fnext-runtime (test for excess errors)
FAIL: obj-c++.dg/torture/strings/const-str-11.mm  -O3 -fomit-frame-pointer  -fnext-runtime (test for excess errors)
FAIL: obj-c++.dg/torture/strings/const-str-11.mm  -O3 -g  -fnext-runtime (test for excess errors)
FAIL: obj-c++.dg/torture/strings/const-str-11.mm  -Os  -fnext-runtime (test for excess errors)
FAIL: obj-c++.dg/torture/strings/const-str-11.mm  -O2 -flto -flto-partition=none  -fnext-runtime (test for excess errors)
FAIL: obj-c++.dg/torture/strings/const-str-11.mm  -O2 -flto  -fnext-runtime (test for excess errors)
FAIL: obj-c++.dg/torture/strings/const-str-9.mm  -O0  -fnext-runtime (test for excess errors)
FAIL: obj-c++.dg/torture/strings/const-str-9.mm  -O1  -fnext-runtime (test for excess errors)
FAIL: obj-c++.dg/torture/strings/const-str-9.mm  -O2  -fnext-runtime (test for excess errors)
FAIL: obj-c++.dg/torture/strings/const-str-9.mm  -O3 -fomit-frame-pointer  -fnext-runtime (test for excess errors)
FAIL: obj-c++.dg/torture/strings/const-str-9.mm  -O3 -g  -fnext-runtime (test for excess errors)
FAIL: obj-c++.dg/torture/strings/const-str-9.mm  -Os  -fnext-runtime (test for excess errors)
FAIL: obj-c++.dg/torture/strings/const-str-9.mm  -O2 -flto -flto-partition=none  -fnext-runtime (test for excess errors)
FAIL: obj-c++.dg/torture/strings/const-str-9.mm  -O2 -flto  -fnext-runtime (test for excess errors)

The failures are

FAIL: obj-c++.dg/threedotthree-abi-1.mm -fnext-runtime (test for excess errors)
Excess errors:
/opt/gcc/work/gcc/testsuite/obj-c++.dg/threedotthree-abi-1.mm:51:78: warning: 'descriptionForInstanceMethod:' is deprecated (declared at /usr/include/objc/Protocol.h:54) [-Wdeprecated-declarations]
/opt/gcc/work/gcc/testsuite/obj-c++.dg/threedotthree-abi-1.mm:54:78: warning: 'descriptionForInstanceMethod:' is deprecated (declared at /usr/include/objc/Protocol.h:54) [-Wdeprecated-declarations]
/opt/gcc/work/gcc/testsuite/obj-c++.dg/threedotthree-abi-1.mm:57:78: warning: 'descriptionForInstanceMethod:' is deprecated (declared at /usr/include/objc/Protocol.h:54) [-Wdeprecated-declarations]
/opt/gcc/work/gcc/testsuite/obj-c++.dg/threedotthree-abi-1.mm:60:78: warning: 'descriptionForInstanceMethod:' is deprecated (declared at /usr/include/objc/Protocol.h:54) [-Wdeprecated-declarations]
/opt/gcc/work/gcc/testsuite/obj-c++.dg/threedotthree-abi-1.mm:63:78: warning: 'descriptionForInstanceMethod:' is deprecated (declared at /usr/include/objc/Protocol.h:54) [-Wdeprecated-declarations]
/opt/gcc/work/gcc/testsuite/obj-c++.dg/threedotthree-abi-1.mm:66:79: warning: 'descriptionForInstanceMethod:' is deprecated (declared at /usr/include/objc/Protocol.h:54) [-Wdeprecated-declarations]

FAIL: obj-c++.dg/torture/strings/const-str-10.mm  -O0  -fnext-runtime (test for excess errors)
Excess errors:
/opt/gcc/work/gcc/testsuite/obj-c++.dg/torture/strings/const-str-10.mm:27:26: warning: 'objc_class' is deprecated (declared at /usr/include/objc/runtime.h:46) [-Wdeprecated-declarations]

FAIL: obj-c++.dg/torture/strings/const-str-11.mm  -O0  -fnext-runtime (test for excess errors)
Excess errors:
/opt/gcc/work/gcc/testsuite/obj-c++.dg/torture/strings/const-str-11.mm:27:26: warning: 'objc_class' is deprecated (declared at /usr/include/objc/runtime.h:46) [-Wdeprecated-declarations]

FAIL: obj-c++.dg/torture/strings/const-str-9.mm  -O0  -fnext-runtime (test for excess errors)
Excess errors:
/opt/gcc/work/gcc/testsuite/obj-c++.dg/torture/strings/const-str-9.mm:19:26: warning: 'objc_class' is deprecated (declared at /usr/include/objc/runtime.h:46) [-Wdeprecated-declarations]

FAIL: objc.dg/stret-2.m scan-assembler-not objc_msgSend[^_S]
FAIL: objc.dg/threedotthree-abi-1.m -fnext-runtime (test for excess errors)

FAIL: objc.dg/torture/strings/const-str-10.m  -O0  -fnext-runtime (test for excess errors)
FAIL: objc.dg/torture/strings/const-str-10.m  -O1  -fnext-runtime (test for excess errors)
FAIL: objc.dg/torture/strings/const-str-10.m  -O2  -fnext-runtime (test for excess errors)
FAIL: objc.dg/torture/strings/const-str-10.m  -O3 -fomit-frame-pointer  -fnext-runtime (test for excess errors)
FAIL: objc.dg/torture/strings/const-str-10.m  -O3 -g  -fnext-runtime (test for excess errors)
FAIL: objc.dg/torture/strings/const-str-10.m  -Os  -fnext-runtime (test for excess errors)
FAIL: objc.dg/torture/strings/const-str-10.m  -O2 -flto -flto-partition=none  -fnext-runtime (test for excess errors)
FAIL: objc.dg/torture/strings/const-str-10.m  -O2 -flto  -fnext-runtime (test for excess errors)
FAIL: objc.dg/torture/strings/const-str-11.m  -O0  -fnext-runtime (test for excess errors)
FAIL: objc.dg/torture/strings/const-str-11.m  -O1  -fnext-runtime (test for excess errors)
FAIL: objc.dg/torture/strings/const-str-11.m  -O2  -fnext-runtime (test for excess errors)
FAIL: objc.dg/torture/strings/const-str-11.m  -O3 -fomit-frame-pointer  -fnext-runtime (test for excess errors)
FAIL: objc.dg/torture/strings/const-str-11.m  -O3 -g  -fnext-runtime (test for excess errors)
FAIL: objc.dg/torture/strings/const-str-11.m  -Os  -fnext-runtime (test for excess errors)
FAIL: objc.dg/torture/strings/const-str-11.m  -O2 -flto -flto-partition=none  -fnext-runtime (test for excess errors)
FAIL: objc.dg/torture/strings/const-str-11.m  -O2 -flto  -fnext-runtime (test for excess errors)
FAIL: objc.dg/torture/strings/const-str-9.m  -O0  -fnext-runtime (test for excess errors)
FAIL: objc.dg/torture/strings/const-str-9.m  -O1  -fnext-runtime (test for excess errors)
FAIL: objc.dg/torture/strings/const-str-9.m  -O2  -fnext-runtime (test for excess errors)
FAIL: objc.dg/torture/strings/const-str-9.m  -O3 -fomit-frame-pointer  -fnext-runtime (test for excess errors)
FAIL: objc.dg/torture/strings/const-str-9.m  -O3 -g  -fnext-runtime (test for excess errors)
FAIL: objc.dg/torture/strings/const-str-9.m  -Os  -fnext-runtime (test for excess errors)
FAIL: objc.dg/torture/strings/const-str-9.m  -O2 -flto -flto-partition=none  -fnext-runtime (test for excess errors)
FAIL: objc.dg/torture/strings/const-str-9.m  -O2 -flto  -fnext-runtime (test for excess errors)

and XPASS with -m64

XPASS: objc.dg/torture/forward-1.m  -O0  -fgnu-runtime execution test
XPASS: objc.dg/torture/forward-1.m  -O1  -fgnu-runtime execution test
XPASS: objc.dg/torture/forward-1.m  -O2  -fgnu-runtime execution test
XPASS: objc.dg/torture/forward-1.m  -O3 -fomit-frame-pointer  -fgnu-runtime execution test
XPASS: objc.dg/torture/forward-1.m  -O3 -fomit-frame-pointer -funroll-loops  -fgnu-runtime execution test
XPASS: objc.dg/torture/forward-1.m  -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions  -fgnu-runtime execution test
XPASS: objc.dg/torture/forward-1.m  -O3 -g  -fgnu-runtime execution test
XPASS: objc.dg/torture/forward-1.m  -Os  -fgnu-runtime execution test
XPASS: objc.dg/torture/forward-1.m  -O2 -flto -flto-partition=none  -fgnu-runtime execution test
XPASS: objc.dg/torture/forward-1.m  -O2 -flto  -fgnu-runtime execution test

My G5 is curently bootstrapping, so no test before tomorrow evening. If 
needed I can test 10.4.11 on my G4, but it is very slow and I won't get 
any result before next week-end.

Dominique



More information about the Gcc-patches mailing list