Hi,
As far as I can tell the -fobjc-exceptions flag is supposed to work
with the GNU runtime as of GCC 4.0. However, invoke.texi still states
that "Currently, this option is only available in conjunction with
the NeXT runtime on Mac OS X 10.3 and later." Shouldn't this be
corrected to say "and the GNU runtime in GCC 4.0 and later" as well?
Also, PR23306 — that -fobjc-exceptions only works with -fno-unit-at-a-
time — still affects GCC 4.0.2. I tried applying the patch in the bug
to a clean 4.0.2 checkout, and works fine. Perhaps you could consider
backporting the patch to the 4.0 branch?
--
- Dan Villiom Podlaski Christiansen