This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug objc/53943] Compiler ICE with -fobjc-direct-dispatch flag on Linux
- From: "egallager at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 27 Jul 2017 16:06:55 +0000
- Subject: [Bug objc/53943] Compiler ICE with -fobjc-direct-dispatch flag on Linux
- Auto-submitted: auto-generated
- References: <bug-53943-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53943
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2017-07-27
CC| |egallager at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Eric Gallager <egallager at gcc dot gnu.org> ---
On Darwin it does this:
$ /usr/local/bin/gcc -fobjc-direct-dispatch 53943.m -lobjc
53943.m: In function ‘main’:
53943.m:14:2: error: ‘-fobjc-exceptions’ is required to enable Objective-C
exception syntax
@throw [Interface new];
^
$ /usr/local/bin/gcc -fobjc-direct-dispatch -fobjc-exceptions 53943.m -lobjc
$
I don't have Linux to test; could you try again with adding the
-fobjc-exceptions flag on your machine?