Split up init_options langhook
Joseph S. Myers
joseph@codesourcery.com
Tue Jun 22 16:48:00 GMT 2010
On Tue, 22 Jun 2010, Richard Guenther wrote:
> The middle-end and LTO pieces are ok.
Thanks. This patch
<http://gcc.gnu.org/ml/gcc-patches/2010-06/msg01968.html> still needs
review of the Ada, C++, Fortran and Java pieces.
> > ada:
> > 2010-06-20 Joseph Myers <joseph@codesourcery.com>
> >
> > * gcc-interface/misc.c (gnat_option_lang_mask): New.
> > (gnat_init_options): Update prototype. Reconstruct argv array
> > from decoded options.
> > cp:
> > 2010-06-20 Joseph Myers <joseph@codesourcery.com>
> >
> > * cp-objcp-common.c (cxx_initialize_diagnostics): First call
> > c_common_initialize_diagnostics.
> > * cp-objcp-common.h (LANG_HOOKS_OPTION_LANG_MASK,
> > LANG_HOOKS_COMPLAIN_WRONG_LANG_P): Define.
> > fortran:
> > 2010-06-20 Joseph Myers <joseph@codesourcery.com>
> >
> > * cpp.c (gfc_cpp_init_options): Update prototype. Use number of
> > decoded options in allocating deferred_opt.
> > * cpp.h (gfc_cpp_init_options): Update prototype.
> > * f95-lang.c (LANG_HOOKS_OPTION_LANG_MASK): Define.
> > * gfortran.h (gfc_option_lang_mask): New.
> > (gfc_init_options): Update prototype.
> > * options.c (gfc_option_lang_mask): New.
> > (gfc_init_options): Update prototype. Pass new arguments to
> > gfc_cpp_init_options.
> > java:
> > 2010-06-20 Joseph Myers <joseph@codesourcery.com>
> >
> > * lang.c (java_option_lang_mask): New.
> > (java_init_options): Update prototype.
> > (LANG_HOOKS_OPTION_LANG_MASK): Define.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Gcc-patches
mailing list