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]
Other format: [Raw text]

Re: Fix PR c++/5


On Wed, Apr 1, 2009 at 4:43 AM, Diego Novillo <dnovillo@google.com> wrote:
> This fixes PR c++/5. ÂIt's based on the simple observation that
> the only useful features in C++ are those provided by C.
>
> Bootstrapped and tested on vax-dec-ultrix4.3, alpha-dec-osf4 and
> pdp11-dec-bsd.
>
> Committed as obvious.
>
>
> Diego.
>
> 2009-04-01 ÂDiego Novillo Â<dnovillo@google.com>
>
> Â Â Â ÂPR c++/5
> Â Â Â Â* gcc.c (static_specs): Handle working subset of C++.
>
> Index: gcc.c
> ===================================================================
> --- gcc.c    (revision 145366)
> +++ gcc.c    (working copy)
> @@ -1638,7 +1638,7 @@ static struct spec_list static_specs[] =
> Â INIT_STATIC_SPEC ("trad_capable_cpp", Â Â Â Â Â Â Â Â&trad_capable_cpp),
> Â INIT_STATIC_SPEC ("cc1", Â Â Â Â Â Â Â Â Â Â &cc1_spec),
> Â INIT_STATIC_SPEC ("cc1_options", Â Â Â Â Â Â &cc1_options),
> - ÂINIT_STATIC_SPEC ("cc1plus", Â Â Â Â Â Â Â Â &cc1plus_spec),
> + ÂINIT_STATIC_SPEC ("cc1", Â Â Â Â Â Â Â Â Â Â &cc1plus_spec),
> Â INIT_STATIC_SPEC ("link_gcc_c_sequence", Â Â &link_gcc_c_sequence_spec),
> Â INIT_STATIC_SPEC ("link_ssp", Â Â Â Â Â Â Â Â Â Â Â Â&link_ssp_spec),
> Â INIT_STATIC_SPEC ("endfile", Â Â Â Â Â Â Â Â &endfile_spec),

I think it is better to call f951 instead since C is so new.

Thanks,
Andrew Pinski


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