This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]