Message ID | 693A7472-3577-43AA-97B1-D5C2899651FC@sandoe-acoustics.co.uk |
---|---|
State | New |
Headers | show |
On Mon, 14 Feb 2011, IainS wrote: > - which is to add two required flags to c-family/c.opt (for which I also need > approval) The c.opt change (note the ChangeLog entry has a "c.opts" typo) is OK if the options are also documented in invoke.texi.
On Feb 14, 2011, at 5:16 AM, IainS wrote:
> Whilst we are in stage-4, I believe that Richard (G) indicated that wrong-code bugs were eligible for inclusion, even at this stage.
This work is Ok for the parts that I can approve. The open question is check it in now, or later during stage1? Since we're in a regression and doc phase, I think we need a RM to approve this for inclusion. RMs?
On Mon, 14 Feb 2011, Mike Stump wrote: > On Feb 14, 2011, at 5:16 AM, IainS wrote: > > Whilst we are in stage-4, I believe that Richard (G) indicated that wrong-code bugs were eligible for inclusion, even at this stage. > > This work is Ok for the parts that I can approve. The open question is check it in now, or later during stage1? Since we're in a regression and doc phase, I think we need a RM to approve this for inclusion. RMs? Generally wrong-code fixes are ok. Note that Objective-C is not release critical, so we will not wait with a release in case you broke ObjC with this patch and the release critical parts of the compiler are ready. Thus, for non-release critical patches that fall in the regression / wrong-code area the respective maintainers should decide whether the advantage of including the patch outweights the risks. Richard.
Index: gcc/c-family/c.opt =================================================================== --- gcc/c-family/c.opt (revision 170111) +++ gcc/c-family/c.opt (working copy) @@ -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 in ObjC* 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) +Check for nil receivers when classes are lazily linked. + ; Nonzero means that we generate NeXT setjmp based exceptions. fobjc-sjlj-exceptions ObjC ObjC++ Var(flag_objc_sjlj_exceptions) Init(-1)