This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Add objc exceptions tests
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: patch Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 13 Aug 2005 20:57:55 -0400
- Subject: [committed] Add objc exceptions tests
It is a good idea to run the objc exceptions in torture mode, so I
copied
the run tests in objc.dg/try-catch-*.m to a new directory inside the
objc/execute
directory. With this, we now also get for "free" running the
exceptions tests
on both the gnu runtime and next runtime on darwin.
Also this move shows we have some bugs in the optimizers which might be
a
regression or not, I don't know.
This does adds about 15 unexpected failures on powerpc-darwin.
PR 23381 is tracking the next runtime failures.
PR 23306 is tacking local-variables-1.m failure.
The other two failures are caused by the loop unroller as it passes at
"-O3 -fomit-frame-pointer" but fails at "-O3 -fomit-frame-pointer
-funroll-loops"
and I have not filed a bug about it yet.
It also removes the tests from objc.dg so we don't have duplicated
tests.
Commited under my authority as libobjc maintainer (as I consider the
objc
testsuite under both objc and libobjc). The reason why this is suitable
for stage 3 is because it is just adding new tests and makes it easier
to add exceptions tests in the future (I am about to add another one
after
I fix another bug).
Thanks,
Andrew Pinski
ChangeLog:
* objc/execute/exceptions/exceptions.exp: New exp for the exceptions
testsuite.
* objc/execute/exceptions/trivial.m: New test.
* objc.dg/try-catch-11.m: Move to ...
* objc/execute/exceptions/foward-1.m: Here.
* objc.dg/try-catch-2.m: Move to ...
* objc/execute/exceptions/catchall-1.m: Here.
* objc.dg/try-catch-8.m: Move to ...
* objc/execute/exceptions/local-variables-1.m: Here.
Attachment:
objcexceptions.diff.txt
Description: Text document