This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Split up init_options langhook
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Richard Guenther <richard dot guenther at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Date: Tue, 22 Jun 2010 16:11:23 +0000 (UTC)
- Subject: Re: Split up init_options langhook
- References: <Pine.LNX.4.64.1006202035210.2440@digraph.polyomino.org.uk> <AANLkTilCqT3-AVe-TwpwdseZBEK93hGZCOUJrVMRmCPF@mail.gmail.com>
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