Fix PR c++/5
Diego Novillo
dnovillo@google.com
Wed Apr 1 11:43:00 GMT 2009
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),
More information about the Gcc-patches
mailing list