diff options
author | nicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-02-17 21:34:10 +0000 |
---|---|---|
committer | nicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-02-17 21:34:10 +0000 |
commit | 29cf2335c6a1fe5c2f2c4fff164875d83269caab (patch) | |
tree | 45768ebf67ebf2be2a54d828cf3ed40e2cacd6b2 /gcc/c-family/c.opt | |
parent | 3d37a1764298176432210ae4795df67a759492fc (diff) | |
download | gcc-29cf2335c6a1fe5c2f2c4fff164875d83269caab.tar.gz |
Added -fobjc-abi-version=N and -fobjc-nilcheck flags, and documented them
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170257 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-family/c.opt')
-rw-r--r-- | gcc/c-family/c.opt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt index b0d9e5bed89..bb928fa9146 100644 --- a/gcc/c-family/c.opt +++ b/gcc/c-family/c.opt @@ -853,6 +853,10 @@ fnothrow-opt C++ ObjC++ Optimization Var(flag_nothrow_opt) Treat a throw() exception specification as noexcept to improve code size +fobjc-abi-version= +ObjC ObjC++ Joined Report RejectNegative UInteger Var(flag_objc_abi) +Specify which ABI to use for Objective-C family code and meta-data generation. + ; Generate special '- .cxx_construct' and '- .cxx_destruct' methods ; to initialize any non-POD ivars in Objective-C++ classes. fobjc-call-cxx-cdtors @@ -873,6 +877,10 @@ fobjc-gc ObjC ObjC++ Var(flag_objc_gc) Enable garbage collection (GC) in Objective-C/Objective-C++ programs +fobjc-nilcheck +ObjC ObjC++ Var(flag_objc_nilcheck,1) +Enable inline checks for nil receivers with the NeXT runtime and ABI version 2. + ; Nonzero means that we generate NeXT setjmp based exceptions. fobjc-sjlj-exceptions ObjC ObjC++ Var(flag_objc_sjlj_exceptions) Init(-1) |