This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch, darwin] PR35165 part0: don't try executing NeXT runtime at m64 for darwin 5 to 8


There are a number of issues with NeXT runtime on darwin 8 and 9 (see PR35165).

The patches attached here are a "part0" to this ; they remove tests of the "untestable" and, therefore, trim the error output to stuff which is more relevant.

The following mainly addresses darwin 8 and earlier (although see **** below) , where there is no 64 bit NeXT runtime (at least , as of OSX 10.4.11).

There are three chunks to this:

1/ changes to the objc torture tests to make sure that the ability to execute code is checked for each runtime, for each pass through the RUNTESTFLAGS.
- at present the usable runtime set is only computed once (at start) and thus, one would get a different results for "unix\{-m32,-m64\} " and "unix\{-m64,-m32\}".

2/ changes to tests in objc.dg to exclude execute tests where these are specific to NeXT and darwin 5..8


3/ changes to tests in obj-c++.dg to exclude execute tests where these are specific to NeXT and darwin 5..8

**** In fact, (1) above makes a fairly big impact on Darwin 9 as well, since "trivial.m" now properly fails on darwin 9 at m64 - cutting out quite a large chunk of non-helpful error output.

cheers,
Iain

testresults:
Darwin8:
http://gcc.gnu.org/ml/gcc-testresults/2009-04/msg02628.html
http://gcc.gnu.org/ml/gcc-testresults/2009-04/msg02626.html
Darwin9:
http://gcc.gnu.org/ml/gcc-testresults/2009-04/msg02632.html
http://gcc.gnu.org/ml/gcc-testresults/2009-04/msg02627.html

changes:
* gcc/testsuite/lib/objc-torture.exp make the 'usable runtime test' a function instead of an initialization.
* gcc/testsuite/objc/execute/execute.exp check the functionality of the runtime for each RUNTESTFLAGS pass
* gcc/testsuite/objc/execute/exceptions/exceptions.exp,
* gcc/testsuite/objc/compile/compile.exp ditto


*gcc/testsuite/objc.dg/desig-init-1.m don't try to execute NeXT runtime m64 for darwin 5..8
* gcc/testsuite/objc.dg/encode-2.m,
* gcc/testsuite/objc.dg/special/unclaimed-category-1.m,
* gcc/testsuite/objc.dg/func-ptr-1.m,
* gcc/testsuite/objc.dg/const-str-3.m,
* gcc/testsuite/objc.dg/stret-1.m,
* gcc/testsuite/objc.dg/const-str-7.m,
* gcc/testsuite/objc.dg/const-str-10.m,
* gcc/testsuite/objc.dg/category-1.m,
* gcc/testsuite/objc.dg/bitfield-3.m,
* gcc/testsuite/objc.dg/encode-3.m,
* gcc/testsuite/objc.dg/call-super-3.m,
* gcc/testsuite/objc.dg/method-3.m,
* gcc/testsuite/objc.dg/const-str-4.m,
* gcc/testsuite/objc.dg/func-ptr-2.m,
* gcc/testsuite/objc.dg/const-str-8.m,
* gcc/testsuite/objc.dg/lookup-1.m,
* gcc/testsuite/objc.dg/const-str-11.m,
* gcc/testsuite/objc.dg/encode-4.m,
* gcc/testsuite/objc.dg/fix-and-continue-1.m,
* gcc/testsuite/objc.dg/sizeof-1.m,
* gcc/testsuite/objc.dg/proto-lossage-3.m,
* gcc/testsuite/objc.dg/method-13.m,
* gcc/testsuite/objc.dg/proto-qual-1.m,
* gcc/testsuite/objc.dg/const-str-9.m,
* gcc/testsuite/objc.dg/zero-link-3.m,
* gcc/testsuite/objc.dg/bitfield-1.m,
* gcc/testsuite/objc.dg/bitfield-5.m,
* gcc/testsuite/objc.dg/encode-1.m,
* gcc/testsuite/objc.dg/va-meth-1.m,
* gcc/testsuite/objc.dg/super-class-3.m,
* gcc/testsuite/objc.dg/call-super-1.m,
* gcc/testsuite/objc.dg/type-size-2.m,
* gcc/testsuite/objc.dg/method-10.m,
* gcc/testsuite/objc.dg/bitfield-2.m,
* gcc/testsuite/objc.dg/defs.m,


	*gcc/testsuite/obj-c++.dg/method-19.mm,
	*gcc/testsuite/obj-c++.dg/bitfield-2.mm,
	*gcc/testsuite/obj-c++.dg/defs.mm,
	*gcc/testsuite/obj-c++.dg/except-1.mm,
	*gcc/testsuite/obj-c++.dg/const-str-7.mm,
	*gcc/testsuite/obj-c++.dg/basic.mm,
	*gcc/testsuite/obj-c++.dg/encode-4.mm,
	*gcc/testsuite/obj-c++.dg/try-catch-9.mm,
	*gcc/testsuite/obj-c++.dg/method-17.mm,
	*gcc/testsuite/obj-c++.dg/cxx-ivars-3.mm,
	*gcc/testsuite/obj-c++.dg/proto-lossage-3.mm,
	*gcc/testsuite/obj-c++.dg/bitfield-3.mm,
	*gcc/testsuite/obj-c++.dg/const-str-8.mm,
	*gcc/testsuite/obj-c++.dg/cxx-ivars-1.mm,
	*gcc/testsuite/obj-c++.dg/const-str-3.mm,
	*gcc/testsuite/obj-c++.dg/method-10.mm,
	*gcc/testsuite/obj-c++.dg/va-meth-1.mm,
	*gcc/testsuite/obj-c++.dg/encode-5.mm,
	*gcc/testsuite/obj-c++.dg/template-3.mm,
	*gcc/testsuite/obj-c++.dg/bitfield-1.mm,
	*gcc/testsuite/obj-c++.dg/proto-qual-1.mm,
	*gcc/testsuite/obj-c++.dg/qual-types-1.mm,
	*gcc/testsuite/obj-c++.dg/cxx-scope-1.mm,
	*gcc/testsuite/obj-c++.dg/bitfield-4.mm,
	*gcc/testsuite/obj-c++.dg/template-1.mm,
	*gcc/testsuite/obj-c++.dg/cxx-ivars-2.mm,
	*gcc/testsuite/obj-c++.dg/const-str-4.mm,
	*gcc/testsuite/obj-c++.dg/encode-6.mm DITTO.


Attachment: 146648-objc-dg-diff.txt
Description: Text document

Attachment: 146648-objc-torture-diff.txt
Description: Text document

Attachment: 146648-objc++-dg-diff.txt
Description: Text document




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]