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]

Re: a language-specific options hook



  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


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