This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA] Skip back-end initialization when possible
- From: Richard Henderson <rth at redhat dot com>
- To: Neil Booth <neil at daikokuya dot co dot uk>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 2 Jul 2002 17:45:55 -0700
- Subject: Re: [RFA] Skip back-end initialization when possible
- References: <20020702055845.GA30868@daikokuya.co.uk>
On Tue, Jul 02, 2002 at 06:58:45AM +0100, Neil Booth wrote:
> * c-common.c (c_common_post_options): Update prototype;
> don't init backends if preprocessing only.
> * langhooks-def.h (LANG_HOOKS_POST_OPTIONS): Update.
> * langhooks.h (struct lang_hooks): Update post_options to
> return a boolean.
> * toplev.c (parse_options_and_default_flags, do_compile,
> lang_independent_init): Update prototypes. Allow the
> front end to specify that there is no need to initialize
> the back end.
> (general_init): Move call to hex_init here...
> (toplev_main): ...from here. Pass flag for back end init
> suppression.
> java:
> * lang.c (java_post_options): Update prototype.
Eh. I guess this is ok.
r~