This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch] Take 2: Move Objective-C runtime flags to modern options system.
- From: Iain Sandoe <developer at sandoe-acoustics dot co dot uk>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Mike Stump <mrs at gcc dot gnu dot org>, "Joseph S. Myers" <joseph at codesourcery dot com>, Richard Guenther <rguenther at suse dot de>, Nicola Pero <nicola dot pero at meta-innovation dot com>
- Date: Mon, 14 Nov 2011 20:30:26 +0000
- Subject: Re: [Patch] Take 2: Move Objective-C runtime flags to modern options system.
- References: <7D5A46F8-D89F-493E-A729-6CEC651367CF@sandoe-acoustics.co.uk>
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.
Attachment:
181356-flag-next-runtime-move.txt
Description: Text document