a language-specific options hook

Jeffrey A Law law@cygnus.com
Fri Jun 5 23:10:00 GMT 1998


  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



More information about the Gcc-patches mailing list