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]

Fix PR c++/5


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),


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