Ping * [Patch] Take 2: Move Objective-C runtime flags to modern options system.

2011-11-28 Thread Iain Sandoe

Hi Joseph,

Mike has OK'd this ...

http://gcc.gnu.org/ml/gcc-patches/2011-11/msg01672.html

.. from the ObjC and Darwin points of view (and it implements your  
suggested changes from the review of version 1).


Is it now OK for trunk?
thanks
Iain

On 14 Nov 2011, at 20:30, Iain Sandoe wrote:


V2 is simpler, than

http://gcc.gnu.org/ml/gcc-patches/2011-11/msg01335.html

because (using the approach suggested by Joseph) we can initialize  
flag_next_runtime early enough to avoid having to deal with any  
other flags.


[I'll still get rid of the flag_objc_sjlj_exceptions flag in a   
follow-up patch.]


So, this just shifts flag_next_runtime to the modern system.

OK for trunk?
Iain

gcc:

* doc/tm.texi.in (NEXT_OBJC_RUNTIME): Update macro description.
* doc/tm.texi: Regenerate.
* flags.h (flag_next_runtime): Remove references.
* toplev.c: Likewise.
* defaults.h (NEXT_OBJC_RUNTIME): Provide default.
* gccspec.c (lang_specific_driver): Adjust use of NEXT_OBJC_RUNTIME.
	* config/darwin.c (darwin_override_options): Provide default  
Objective-C

abi settings and target conflict checks.
* config/darwin.h   (SUBTARGET_C_COMMON_OVERRIDE_OPTIONS):
Remove unused code.  Adjust indenting.

gcc/c-family:

* c.opt (fgnu-runtime): Provide full description.
(fnext-runtime): Likewise.
* c-opts.c (OPT_fgnu_runtime, OPT_fnext_runtime) Remove.




Re: Ping * [Patch] Take 2: Move Objective-C runtime flags to modern options system.

2011-11-28 Thread Joseph S. Myers
On Mon, 28 Nov 2011, Iain Sandoe wrote:

 Hi Joseph,
 
 Mike has OK'd this ...
 
 http://gcc.gnu.org/ml/gcc-patches/2011-11/msg01672.html
 
 .. from the ObjC and Darwin points of view (and it implements your suggested
 changes from the review of version 1).
 
 Is it now OK for trunk?

OK.

-- 
Joseph S. Myers
jos...@codesourcery.com