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] |
The problem here is that the objc library was not compiled with -fexceptions so there was no unwinding information so we abort if someone tried throwing from a -forward::. This patch adds -fexceptions to the makefile and a testcase.
The testcase fails for the next runtime but it is calling -forward:: so someone at Apple should look at the test as the test is correct as far as I can see.
Thanks, Andrew Pinski
libobjc/ChangeLog: * Makefile.in (ALL_CFLAGS): Add -fexceptions.
testsuite/ChangeLog: * objc.dg/try-catch-11.m: New test.
Attachment:
t.diff.txt
Description: Text document
Attachment:
test.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] |