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: Geert Bosch <bosch at gnat dot com>
- To: Neil Booth <neil at daikokuya dot co dot uk>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 4 Jul 2002 00:34:19 -0400
- Subject: Re: [RFA] Skip back-end initialization when possible
On Tuesday, July 2, 2002, at 01:58 , Neil Booth wrote:
The integrated preprocessor carries the baggage of back end
initialization. This patch improves the lang hooks so that
the front end can indicate, after option parsing, whether
the compiler back end is needed. With the work on cleaning
up toplev.c initialization earlier this year, back end
initialization is cleanly separated and easily skipped.
This would be nice for GNAT too. It is quite common to use
the compiler for syntactic or semantic analysis without
generating code. Also, since GNAT does full analysis before
starting to generate code, it is possible to omit back end
initialization in case of errors.
-Geert