This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: a language-specific options hook
- To: Richard Henderson <rth at cygnus dot com>
- Subject: Re: a language-specific options hook
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sat, 06 Jun 1998 00:09:52 -0600
- cc: egcs-patches at cygnus dot com
- Reply-To: law at cygnus dot com
In message <19980604002050.A25755@dot.cygnus.com>you write:
> --17pEHd4RhPHOinZp
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: attachment; filename=d-lio
>
> Thu Jun 4 00:12:32 1998 Richard Henderson <rth@cygnus.com>
>
> * toplev.c (flag_exceptions): Default to 0.
> (compile_file): Remove flag_exceptions == 2 hack.
> (main): Call lang_init_options.
> * tree.h: Declare it.
> * c-lang.c: Implement it.
Looks pretty reasonable to me. You should also make a note in
LANGUAGES about the need for a lang_init_options function.
Anything that gets rid of the flag_exceptions hack is a good thing
in my book!
jeff